AFNamedCollectionList(T) Constructor (IEnumerable(T))
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Initializes a new instance of the AFNamedCollectionListT collection with
the items in the specified IEnumerableT list.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFNamedCollectionList( IEnumerable<T> items )
Public Sub New ( items As IEnumerable(Of T) ) Dim items As IEnumerable(Of T) Dim instance As New AFNamedCollectionList(items)
public: AFNamedCollectionList( IEnumerable<T>^ items )
new : items : IEnumerable<'T> -> AFNamedCollectionList
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.