共用方式為


ActiveDirectoryRoleCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

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

屬性值

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

例外狀況

指定的 index 超出集合範圍。

適用於

另請參閱