AFEnumerationSet.Add Method (AFEnumerationValue)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The Add method adds the specified AFEnumerationValue to the AFEnumerationSet.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void Add( AFEnumerationValue item )
Public Sub Add ( item As AFEnumerationValue ) Dim instance As AFEnumerationSet Dim item As AFEnumerationValue instance.Add(item)
public: virtual void Add( AFEnumerationValue^ item ) sealed
abstract Add : item : AFEnumerationValue -> unit override Add : item : AFEnumerationValue -> unit
Parameters
- item
- Type: OSIsoft.AF.AssetAFEnumerationValue
The AFEnumerationValue to be added to the AFEnumerationSet.
Implements
ICollectionTAdd(T)
Remarks
The specified AFEnumerationValue is added to the AFEnumerationSet.