편집

다음을 통해 공유


DirectoryServerCollection.Item[Int32] Property

Definition

Gets or sets a DirectoryServer object in this collection.

public:
 property System::DirectoryServices::ActiveDirectory::DirectoryServer ^ default[int] { System::DirectoryServices::ActiveDirectory::DirectoryServer ^ get(int index); void set(int index, System::DirectoryServices::ActiveDirectory::DirectoryServer ^ value); };
public System.DirectoryServices.ActiveDirectory.DirectoryServer this[int index] { get; set; }
member this.Item(int) : System.DirectoryServices.ActiveDirectory.DirectoryServer with get, set
Default Public Property Item(index As Integer) As DirectoryServer

Parameters

index
Int32

The zero-based index of the DirectoryServer object to get or set.

Property Value

The DirectoryServer object that exists at the specified index.

Exceptions

The member already exists in this collection (applies to set only).

The item specified is null (applies to set only).

The index specified is out of range of this collection.

The DirectoryServer specified has not yet been saved to the Active Directory Domain Services store (applies to set only).

Applies to

See also