AFEnumerationSet.Add Method (AFEnumerationValue)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The Add method adds the specified AFEnumerationValue to the AFEnumerationSet.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.