AFAttributeList Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new empty instance of the AFAttributeList collection
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAttributeList()
Public Sub New Dim instance As New AFAttributeList()
public: AFAttributeList()
new : unit -> AFAttributeList
Remarks
This collection is a user-defined list of attributes which can contain a mixture
of AFAttribute objects from different elements. An
AFAttribute can also be in the list multiple times. This is useful
for efficient gathering of attribute values.
| Since the list can contain an AFAttribute multiple times in the list, lookups using the ID or Name keys are sequential. |