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

AF SDK Reference

AFAttributeTemplate.DisplayUOM Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttributeTemplate.DisplayUOM Property
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: UOM
Returns 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.

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

See Also

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