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

AF SDK Reference

UOMBaseClasses.Add Method (UOMClass, Int16)

  • Last UpdatedJan 12, 2026
  • 2 minute read
UOMBaseClasses.Add Method (UOMClass, Int16)
The Add method creates a new object and adds it to the collection.

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

Syntax

public UOMBaseClass Add(
	UOMClass baseClass,
	short power
)
Public Function Add ( 
	baseClass As UOMClass,
	power As Short
) As UOMBaseClass

Dim instance As UOMBaseClasses
Dim baseClass As UOMClass
Dim power As Short
Dim returnValue As UOMBaseClass

returnValue = instance.Add(baseClass, 
	power)
public:
UOMBaseClass^ Add(
	UOMClass^ baseClass, 
	short power
)
member Add : 
        baseClass : UOMClass * 
        power : int16 -> UOMBaseClass 

Parameters

baseClass
Type: OSIsoft.AF.UnitsOfMeasureUOMClass
The base UOMClass for the current UOMClass.
power
Type: SystemInt16
The respective power of the baseClass.

Return Value

Type: UOMBaseClass
Returns the newly created object that was added.

Remarks

This method creates the UOMBaseClass with the specified power.

Version Information

AFSDK


See Also

In This Topic
Related Links