Share via


ThreadSafeCollection.Remove Method

Removes the first occurrence of a specific object from the ThreadSafeCollection<T> .

Syntax

public bool Remove (
         T item
)

Parameters

  • item
    Type: T
    The object to remove from the ThreadSafeCollection<T>. The value can be null for reference types.

Return Value

Type: Boolean
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the ThreadSafeCollection<T>

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