AFSearchToken.Value Property
- 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 string Value { get; }
Public ReadOnly Property Value As String Get Dim instance As AFSearchToken Dim value As String value = instance.Value
public: property String^ Value { String^ get (); }
member Value : string with get
Property Value
Type: String
Remarks
This is the value to compare the search filter on using the specified Operator. 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* Category:"Storage Tank" Template:=Tank |Volume:>=100', the first search token does not specify a AFSearchFilter and has a value of 'Unit405*'. The second search token has a value of 'Storage Tank'. The third search token has a value of 'Tank'. The forth search token specifies a Value filter and has a value of '100'.