Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFCollectionList(T) Constructor (IEnumerable(T))

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCollectionList(T) Constructor (IEnumerable(T))
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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in