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

AF SDK Reference

UOM.GetGroupMapping Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
UOM.GetGroupMapping Method
Gets the mapped UOM defined by a UOMGroup for the current UOM.

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

Syntax

public UOM GetGroupMapping(
	UOMGroup group = null
)
Public Function GetGroupMapping ( 
	Optional group As UOMGroup = Nothing
) As UOM

Dim instance As UOM
Dim group As UOMGroup
Dim returnValue As UOM

returnValue = instance.GetGroupMapping(group)
public:
UOM^ GetGroupMapping(
	UOMGroup^ group = nullptr
)
member GetGroupMapping : 
        ?group : UOMGroup 
(* Defaults:
        let _group = defaultArg group null
*)
-> UOM 

Parameters

group (Optional)
Type: OSIsoft.AF.UnitsOfMeasureUOMGroup
The UOMGroup to use for the returned mapped UOM. If this parameter is , then the UOMGroup specified by the DisplayUOMGroup will be used.

Return Value

Type: UOM
Returns the mapped UOM defined by a UOMGroup for the current UOM. If a UOMGroup is not defined, then the current UOM will be returned.

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
Related Links
TitleResults for “How to create a CRG?”Also Available in