Item Property
Collapse the table of content
Expand the table of content

SynchronizedCollection<T>.Item Property (Int32)


Gets an element from the thread-safe collection with a specified index.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public T this[
	int index
] { get; set; }


Type: System.Int32

The zero-based index of the element to be retrieved from the collection.

Property Value

Type: T

The object in the collection that has the specified index.

Exception Condition

The index specified is less than zero or greater than the number of items in the collection.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft