Bewerken

Share via


ReadOnlySiteCollection.Item[Int32] Property

Definition

Gets an ActiveDirectorySite object in this collection.

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

Parameters

index
Int32

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

Property Value

The ActiveDirectorySite object that exists at the specified index.

Exceptions

The index specified is out of range of the collection.

Applies to

See also