AFAttributeTemplate.DisplayUOM Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property returns the display unit of measure (UOM) for the value of the attribute
created from this template.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public UOM DisplayUOM { get; }
Public ReadOnly Property DisplayUOM As UOM Get Dim instance As AFAttributeTemplate Dim value As UOM value = instance.DisplayUOM
public: virtual property UOM^ DisplayUOM { UOM^ get () sealed; }
abstract DisplayUOM : UOM with get override DisplayUOM : UOM with get
Property Value
Type: UOMReturns the display unit of measure (UOM) for the attribute's value determined by the DefaultUOM and the DisplayUOMGroup setting.
Implements
IAFAttributeDisplayUOM
Remarks
If the DisplayUOMGroup is not configured, then this will return the attribute template's DefaultUOM. When the DisplayUOMGroup is set, then this property will return the attribute template's default UOM converted to the mapped UOM as defined for the UOMGroup.
This property can be passed as the displayUOM parameter to the GetValue method to display values in the mapped UOM as defined by the UOMGroup.