AFAttributeValueQuery Constructor (AFAttributeTemplate, AFSearchOperator, Object, UOM)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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.