DomainControllerCollection.Item[Int32] Property

Definition

Gets a DomainController object in this collection.

public:
 property System::DirectoryServices::ActiveDirectory::DomainController ^ default[int] { System::DirectoryServices::ActiveDirectory::DomainController ^ get(int index); };
public System.DirectoryServices.ActiveDirectory.DomainController this[int index] { get; }
member this.Item(int) : System.DirectoryServices.ActiveDirectory.DomainController
Default Public ReadOnly Property Item(index As Integer) As DomainController

Parameters

index
Int32

The zero-based index of the DomainController object to get.

Property Value

DomainController

The DomainController object that exists at the specified index.

Exceptions

The index specified is out of range of the collection.

Applies to

See also