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

适用于

另请参阅