Partilhar via


BaseCollection<T>.AddRange Method

Adds a collection to the collection.

Namespace:  Microsoft.Rtc.Workflow.Utilities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Sub AddRange ( _
    collection As BaseCollection(Of T) _
)
'Usage
Dim instance As BaseCollection
Dim collection As BaseCollection(Of T)

instance.AddRange(collection)
public void AddRange(
    BaseCollection<T> collection
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if trying to add null.

InvalidOperationException

Thrown if the item is already in the collection.

See Also

Reference

BaseCollection<T> Class

BaseCollection<T> Members

Microsoft.Rtc.Workflow.Utilities Namespace