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) _
)
public void AddRange(
    BaseCollection<T> collection
)
public:
void AddRange(
    BaseCollection<T>^ collection
)
function addRange(collection);

Parameters

Exceptions

Exception Condition
ArgumentNullException Thrown if trying to add null.
InvalidOperationException Thrown if the item is already in the collection.

See Also

BaseCollection<(Of <(T>)>) Class

Microsoft.Rtc.Workflow.Utilities Namespace