AFAttributeList Constructor (IEnumerable(AFAttribute))
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFAttributeList collection with
the items in the specified AFAttributes collection.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAttributeList( IEnumerable<AFAttribute> items )
Public Sub New ( items As IEnumerable(Of AFAttribute) ) Dim items As IEnumerable(Of AFAttribute) Dim instance As New AFAttributeList(items)
public: AFAttributeList( IEnumerable<AFAttribute^>^ items )
new : items : IEnumerable<AFAttribute> -> AFAttributeList
Parameters
- items
- Type: System.Collections.GenericIEnumerableAFAttribute
The collection used to initialize this list.
Remarks
This collection is a user-defined list of attributes which can contain a mixture
of AFAttribute objects from different elements. This is useful
for efficient gathering of attribute values. The list is initialized with the
items from the specified items collection.