Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFSearchTokenCollection.Remove Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSearchTokenCollection.Remove Method
Removes the first occurrence of a specific object from the ListT.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public bool Remove(
	AFSearchTokenBase item
)
Public Function Remove ( 
	item As AFSearchTokenBase
) As Boolean

Dim instance As AFSearchTokenCollection
Dim item As AFSearchTokenBase
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public:
virtual bool Remove(
	AFSearchTokenBase^ item
) sealed
abstract Remove : 
        item : AFSearchTokenBase -> bool 
override Remove : 
        item : AFSearchTokenBase -> bool 

Parameters

item
Type: OSIsoft.AF.SearchAFSearchTokenBase
The object to remove from the ListT. The value can be null for reference types.

Return Value

Type: Boolean
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the ListT.

Implements

ICollectionTRemove(T)

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in