AFAttributeList Constructor (AFObject)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFAttributeList collection
with the specified parent and without any items.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAttributeList( AFObject parent )
Public Sub New ( parent As AFObject ) Dim parent As AFObject Dim instance As New AFAttributeList(parent)
public: AFAttributeList( AFObject^ parent )
new : parent : AFObject -> AFAttributeList
Parameters
- parent
- Type: OSIsoft.AFAFObject
The parent AFObject that owns this collection.
Remarks
This collection is a user-defined list of objects 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. |