Edit

Share via


ActiveDirectoryRoleCollection.Item[Int32] Property

Definition

Gets an ActiveDirectoryRole object in this collection.

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

Parameters

index
Int32

The zero-based index of the ActiveDirectoryRole object to get.

Property Value

The ActiveDirectoryRole object that exists at the specified index.

Exceptions

The index specified is out of range of the collection.

Applies to

See also