Removes the first occurrence of a specific value from the collection

Namespace:  JHSoftware.SimpleDNSPlus
Assembly:  SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public bool Remove(
	string item
)
Visual Basic (Declaration)
Public Function Remove ( _
	item As String _
) As Boolean

Parameters

item
Type: System..::.String
The value to remove from the collection.

Return Value

True if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection

Implements

ICollection<(Of <(T>)>)..::.Remove(T)

Remarks

This method is only valid with TXT-records, and only when the record has two or more data fields (cannot remove last field)

See Also