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

AF SDK Reference

Product Family
Current publication
Table of Contents

AFSearchToken.Values Property

AFSearchToken.Values Property
The array of values to compare the search filter on using the specified Operator.

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.

Version Information

AFSDK

Supported in: 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

Was this topic helpful?