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

AF SDK Reference

AFAttributeValueQuery.AttributeValue Property

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFAttributeValueQuery.AttributeValue Property
The value to be compared to the attribute's value.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public Object AttributeValue {
	get;
 set; }
Public Property AttributeValue As Object
		Get
	Set

Dim instance As AFAttributeValueQuery
Dim value As Object

value = instance.AttributeValue

instance.AttributeValue = value
public:
property Object^ AttributeValue {
		Object^ get ();
	void set (Object^ value);
}
member AttributeValue : Object with 
		get, set

Property Value

Type: Object
Returns the value to be compared to the attribute's value.

Remarks

The AttributeUOM can be set to specify the UOM of this value. The unit of measure may be also specified as part of the value in string format (e.g. "100.0 ft") and the AttributeUOM will be ignored.

If the type of the attribute value specified by the Type of the AttributeTemplate is String, then wildcard characters can be used in the query string for all Operator types except In.

The query string (or match pattern) can include regular characters and wildcard characters. Regular characters must match exactly the characters specified in the query string. Wildcard characters can be matched with arbitrary fragments of the query string. Wildcard characters can be escaped using the single backslash (\) character. Use a double backslash (\\) to match a single backslash. The syntax of the query string has the following rules:

  • If or empty string, then everything will be matched.
  • If no wildcards, then an exact match on the query string is performed.
  • Wildcard * can be placed anywhere in the query string and matches zero or more characters.
  • Wildcard ? can be placed anywhere in the query string and matches exactly one character.
  • One character in a set of characters are matched by placing them within [ ]. For example, a[bc] would match 'ab' or 'ac', but it would not match 'ad' or 'abd'.
  • One character in a set of characters are not matched by placing them within [! ]. For example, a[!bc] would match 'ad', but it would not match 'ab', 'ac', or 'abd'.
  • A character in a range of characters from first to last are matched using the following syntax: [first - last]. For example, a[a-c] would match 'aa', 'ab', or 'ac', but it would not match 'ad' or 'abc'.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in