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

AF SDK Reference

AFSearchTokenCollection.Item Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSearchTokenCollection.Item Property
Gets or sets the element at the specified index.

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

Syntax

public AFSearchTokenBase this[
	int index
] { get; set; }
Public Default Property Item ( 
	index As Integer
) As AFSearchTokenBase
	Get
	Set

Dim instance As AFSearchTokenCollection
Dim index As Integer
Dim value As AFSearchTokenBase

value = instance(index)

instance(index) = value
public:
virtual property AFSearchTokenBase^ default[int index] {
	AFSearchTokenBase^ get (int index) sealed;
	void set (int index, AFSearchTokenBase^ value) sealed;
}
abstract Item : AFSearchTokenBase with get, set
override Item : AFSearchTokenBase with get, set

Parameters

index
Type: SystemInt32
The zero-based index of the element to get or set.

Return Value

Type: AFSearchTokenBase
The element at the specified index.

Implements

IListTItemInt32

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0.-or-index is equal to or greater than Count.

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