UOM.GetGroupMapping Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: UOMReturns the mapped UOM defined by a UOMGroup for the current UOM. If a UOMGroup is not defined, then the current UOM will be returned.