AFValue.UOM Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property contains the unit of measure (UOM) of the value.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public UOM UOM { get; set; }
Public Property UOM As UOM Get Set Dim instance As AFValue Dim value As UOM value = instance.UOM instance.UOM = value
public: property UOM^ UOM { UOM^ get (); void set (UOM^ value); }
member UOM : UOM with get, set
Property Value
Type: UOMThe unit of measure (UOM) of the Value field. If the UOM is unknown, then the value will be . Setting this property to a different UOM will not perform a conversion of the value. To convert the value to a specified UOM, use the Convert(UOM) method.