Edit

Share via


DomainCollection.Item[Int32] Property

Definition

Gets a Domain object in this collection.

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

Parameters

index
Int32

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

Property Value

The Domain object that exists at the specified index.

Exceptions

The index specified is out of range of the collection.

Applies to

See also