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

AF SDK Reference

AFAttributeList Constructor (IEnumerable(AFAttribute))

AFAttributeList Constructor (IEnumerable(AFAttribute))

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

Version Information

AFSDK


See Also

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