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

AF SDK Reference

AFAttributeValueQuery Constructor (AFAttributeTemplate, AFSearchOperator, Object, UOM)

AFAttributeValueQuery Constructor (AFAttributeTemplate, AFSearchOperator, Object, UOM)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttributeValueQuery Constructor (AFAttributeTemplate, AFSearchOperator, Object, UOM)
Creates a new instance of the AFAttributeValueQuery structure with a UOM specified for the value.

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

Syntax

public AFAttributeValueQuery(
	AFAttributeTemplate template,
	AFSearchOperator searchOperator,
	Object value,
	UOM uom
)
Public Sub New ( 
	template As AFAttributeTemplate,
	searchOperator As AFSearchOperator,
	value As Object,
	uom As UOM
)

Dim template As AFAttributeTemplate
Dim searchOperator As AFSearchOperator
Dim value As Object
Dim uom As UOM

Dim instance As New AFAttributeValueQuery(template, 
	searchOperator, value, uom)
public:
AFAttributeValueQuery(
	AFAttributeTemplate^ template, 
	AFSearchOperator searchOperator, 
	Object^ value, 
	UOM^ uom
)
new : 
        template : AFAttributeTemplate * 
        searchOperator : AFSearchOperator * 
        value : Object * 
        uom : UOM -> AFAttributeValueQuery

Parameters

template
Type: OSIsoft.AF.AssetAFAttributeTemplate
The value for the AttributeTemplate property.
searchOperator
Type: OSIsoft.AF.SearchAFSearchOperator
The value for the Operator property.
value
Type: SystemObject
The value for the AttributeValue property.
uom
Type: OSIsoft.AF.UnitsOfMeasureUOM
The UOM for the specified value which will set the AttributeUOM property.

Version Information

AFSDK

Supported in: 3.1.1, 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, 2.7.5, 2.7

See Also

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