AFSearchToken.Values Property
- Last UpdatedSep 18, 2024
- PI System
- AF SDK 2024
- Developer
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156
Syntax
public string[] Values { get; }
Public ReadOnly Property Values As String() Get Dim instance As AFSearchToken Dim value As String() value = instance.Values
public: property array<String^>^ Values { array<String^>^ get (); }
member Values : string[] with get
Property Value
Type:String[]
Remarks
This is the array of values to compare the search filter on using the specified Operator. Currently, only the In operator supports a list of values. If a value of a search token includes a space, then it must be enclosed in quotation marks. If the value has special characters (e.g. backslash or quotation mark), then those characters must be escaped using the backslash character (e.g. "A\\B" or "A\"B\"").
In the query string 'Unit405* Template:"Storage Tank" Template:=Tank |Volume:In(100;200;300)', the first three search tokens are not Value filters, so this property will be null for those tokens. The forth search token specifies a list of values '100', '200', and '300' for the Value filter with an In operator.