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 超出了集合的范围。

适用于

另请参阅