Share via


ThreadSafeCollection.IndexOf Method

Searches for the specified object and returns the zero-based index of the first occurrence within the entire ThreadSafeCollection<T>.

Syntax

public int IndexOf (
         T item
)

Parameters

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

Return Value

Type: Int32
The zero-based index of the first occurrence of item within the entire ThreadSafeCollection<T>, if found; otherwise, –1.

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