Modifier

Partager via


DirectoryServicesPermissionEntryCollection.Item[Int32] Property

Definition

Gets or sets a DirectoryServicesPermissionEntry object in this collection.

public:
 property System::DirectoryServices::DirectoryServicesPermissionEntry ^ default[int] { System::DirectoryServices::DirectoryServicesPermissionEntry ^ get(int index); void set(int index, System::DirectoryServices::DirectoryServicesPermissionEntry ^ value); };
public System.DirectoryServices.DirectoryServicesPermissionEntry? this[int index] { get; set; }
public System.DirectoryServices.DirectoryServicesPermissionEntry this[int index] { get; set; }
member this.Item(int) : System.DirectoryServices.DirectoryServicesPermissionEntry with get, set
Default Public Property Item(index As Integer) As DirectoryServicesPermissionEntry

Parameters

index
Int32

The zero-based index of the DirectoryServicesPermissionEntry object to get or set.

Property Value

The DirectoryServicesPermissionEntry object that exists at the specified index.

Remarks

In C#, this property is the indexer for the DirectoryServicesPermissionEntryCollection class.

In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property with a type of Object and with an index type of String.

Applies to

See also