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

AF SDK Reference

AFSearchQueryToken.TokenCollection Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSearchQueryToken.TokenCollection Property
The collection of AFSearchTokenBase 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 AFSearchTokenCollection TokenCollection { get; }
Public ReadOnly Property TokenCollection As AFSearchTokenCollection
	Get

Dim instance As AFSearchQueryToken
Dim value As AFSearchTokenCollection

value = instance.TokenCollection
public:
virtual property AFSearchTokenCollection^ TokenCollection {
	AFSearchTokenCollection^ get () sealed;
}
abstract TokenCollection : AFSearchTokenCollection with get
override TokenCollection : AFSearchTokenCollection with get

Property Value

Type: AFSearchTokenCollection

Remarks

This is the collection of AFSearchTokenBase 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 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

See Also

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