Share via


ThreadSafeCollection.AddRange Method

Adds the elements of the specified collection to the end of the ThreadSafeCollection<T>.

Syntax

public void AddRange (
         IEnumerable<T> collection
)

Parameters

  • collection
    Type: IEnumerable<T>
    The collection whose elements should be added to the end of the ThreadSafeCollection<T>. /// The collection itself cannot be null, but it can contain elements that are /// null, if type T is a reference type.

This method raises the following exceptions:

Exception Raised By
System.ArgumentNullException Collection is null.

Requirements

Namespace: Microsoft.Kinect.Toolkit

Assembly: Microsoft.Kinect.Toolkit (in microsoft.kinect.toolkit.dll)

See Also

Reference

ThreadSafeCollection Generic Class
ThreadSafeCollection Members
Microsoft.Kinect.Toolkit Namespace