แก้ไข

แชร์ผ่าน


ActiveDirectorySiteLinkCollection.Item[Int32] Property

Definition

Gets or sets an ActiveDirectorySiteLink object in this collection.

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

Parameters

index
Int32

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

Property Value

The ActiveDirectorySiteLink 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 ActiveDirectorySiteLink specified has not yet been saved to the Active Directory Domain Services store (applies to set only).

Applies to

See also