AFSearchToken.Tokens Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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'.