共用方式為


ReadOnlySiteCollection.Item[Int32] 屬性

定義

取得這個集合中的 ActiveDirectorySite 物件。

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

參數

index
Int32

要取得之 ActiveDirectorySite 物件以零為起始的索引。

屬性值

ActiveDirectorySite 物件,位在指定的索引。

例外狀況

指定的 index 超出集合範圍。

適用於

另請參閱