AFCollectionList(T) Constructor (AFIdentity)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFCollectionListT collection
without any items with the AFIdentity of the items specified.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFCollectionList( AFIdentity itemIdentity )
Public Sub New ( itemIdentity As AFIdentity ) Dim itemIdentity As AFIdentity Dim instance As New AFCollectionList(itemIdentity)
public: AFCollectionList( AFIdentity itemIdentity )
new : itemIdentity : AFIdentity -> AFCollectionList
Parameters
- itemIdentity
- Type: OSIsoft.AFAFIdentity
The AFIdentity of the items in the collection.
Remarks
This collection is a user-defined list of objects which can contain a mixture of AFObject objects from different hierarchies. All items should have the specified AFIdentity.
This constructor only needs to be used when the AFIdentity is ambiguous based upon the Type of the items in the list. For example, a collection of AFCategory items could contain items with an AFIdentity of CategoryAttribute, CategoryElement, CategoryReferenceType, CategoryTable, or CategoryAnalysis.