Compartilhar via


ValueCollection.Item Property

The Item property retrieves a specific member of the collection.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As ValueCollection
Dim index As Integer
Dim value As Value

value = instance(index)

Syntax

'Declaration
Public MustOverride ReadOnly Default Property Item ( _
    index As Integer _
) As Value
public abstract Value this [
    int index
] { get; }
public:
virtual property Value^ default [int] {
    Value^ get (int index) abstract;
}
/** @property */
public abstract Value get_Item (int index)

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

Reference

ValueCollection Class
ValueCollection Members
Microsoft.MetadirectoryServices Namespace
Value Class