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

AF SDK Reference

AFAttribute.SourceUOM Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.SourceUOM Property
This property specifies the source unit of measure (UOM) for the attribute's value.

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

Syntax

public UOM SourceUOM { get; }
Public ReadOnly Property SourceUOM As UOM
	Get

Dim instance As AFAttribute
Dim value As UOM

value = instance.SourceUOM
public:
property UOM^ SourceUOM {
	UOM^ get ();
}
member SourceUOM : UOM with get

Property Value

Type: UOM
The source UOM for the attribute's value.

Remarks

The source UOM is defined by the DataReference as the units of the actual source of the value being read (see AFDataReference.UOM. If the DataReference is not defined or does not specify a UOM, then the DefaultUOM is returned.

The source UOM can be used with the GetValue Overload methods to get the values in the source units instead of the default units.

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, 2.6

See Also

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