AFNamedCollectionList(T).AddRange Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Adds the items of the specified collection to the end of the collection.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void AddRange( IEnumerable<T> collection )
Public Sub AddRange ( collection As IEnumerable(Of T) ) Dim instance As AFNamedCollectionList Dim collection As IEnumerable(Of T) instance.AddRange(collection)
public: void AddRange( IEnumerable<T>^ collection )
member AddRange : collection : IEnumerable<'T> -> unit
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
The collection whose items should be added to the end of the collection.
Remarks
The items in the specified collection are added to the end of this collection.