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

AF SDK Reference

AFSearchToken.Tokens Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSearchToken.Tokens Property
The collection of search tokens to be used for a nested query.

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

Syntax

public IList<AFSearchToken> Tokens {
	get;
 }
Public ReadOnly Property Tokens As IList(Of AFSearchToken)
		Get

Dim instance As AFSearchToken
Dim value As IList(Of AFSearchToken)

value = instance.Tokens
public:
property IList<AFSearchToken>^ Tokens {
		IList<AFSearchToken>^ get ();
}
member Tokens : IList<AFSearchToken> with 
		get

Property Value

Type: IListAFSearchToken

Remarks

This is the collection of search tokens to be used for a nested query.

In the query string 'Element:{ Name:"Tank01" Category:"Storage Tank" }', the filter would be Element and the Tokens collection would contain two child tokens: Name with a value of 'Tank01' and Category with a value of 'Storage Tank'.

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, 2.10.0, 2.10, 2.9.5

See Also

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