The Item property retrieves a specific member of the collection.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As ValueCollection
Dim index As Integer
Dim value As Value

value = instance(index)

Syntax

Visual Basic
Public MustOverride ReadOnly Default Property Item ( _
		index As Integer _
) As Value
C#
public abstract Value this [
		int index
] { get; }
C++
public:
virtual property Value^ default [int] {
		Value^ get (int index) abstract;
}
J#
/** @property */
public abstract Value get_Item (int index)
JScript

Parameters

index

Contains the zero-based index of the member to retrieve. If the collection contains no member at this index, this property will throw the ArgumentOutOfRangeException exception.

Property Value

Returns Value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also