AFSearchToken Constructor (AFSearchFilter, AFSearchOperator, String[], String)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFSearchToken( AFSearchFilter filter, AFSearchOperator searchOperator, string[] values, string path )
Public Sub New ( filter As AFSearchFilter, searchOperator As AFSearchOperator, values As String(), path As String ) Dim filter As AFSearchFilter Dim searchOperator As AFSearchOperator Dim values As String() Dim path As String Dim instance As New AFSearchToken(filter, searchOperator, values, path)
public: AFSearchToken( AFSearchFilter filter, AFSearchOperator searchOperator, array<String^>^ values, String^ path )
new : filter : AFSearchFilter * searchOperator : AFSearchOperator * values : string[] * path : string -> AFSearchToken
Parameters
- filter
- Type: OSIsoft.AF.SearchAFSearchFilter
The filter used to initialize the Filter property. - searchOperator
- Type: OSIsoft.AF.SearchAFSearchOperator
The search operator used to initialize the Operator property. Currently, only the In operator is allowed. - values
- Type: SystemString
The array of search values used to initialize the Values property. - path
- Type: SystemString
The path used for the query when the filter is Value. For all other filters, this parameter is ignored.
Remarks
This constructor is used to create a search token with an array of values.
Currently, only the Value filter with the
In operator is supports an array of values.