AFCollectionList(T) Constructor (IEnumerable(T))
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFCollectionListT collection with
the items in the specified IEnumerableT list.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFCollectionList( IEnumerable<T> items )
Public Sub New ( items As IEnumerable(Of T) ) Dim items As IEnumerable(Of T) Dim instance As New AFCollectionList(items)
public: AFCollectionList( IEnumerable<T>^ items )
new : items : IEnumerable<'T> -> AFCollectionList
Parameters
- items
- Type: System.Collections.GenericIEnumerableT
The collection used to initialize this list.
Remarks
This collection is a user-defined list of objects which can contain a mixture
of AFObject objects from different hierarchies.
The list is initialized with the items from the specified
items collection.