Rediger

Del via


DirectoryServicesPermissionEntryCollection.IndexOf Method

Definition

Returns the index of the first occurrence of the specified DirectoryServicesPermissionEntry object in this collection.

public:
 int IndexOf(System::DirectoryServices::DirectoryServicesPermissionEntry ^ value);
public int IndexOf (System.DirectoryServices.DirectoryServicesPermissionEntry value);
member this.IndexOf : System.DirectoryServices.DirectoryServicesPermissionEntry -> int
Public Function IndexOf (value As DirectoryServicesPermissionEntry) As Integer

Parameters

value
DirectoryServicesPermissionEntry

The DirectoryServicesPermissionEntry object to search for in this collection.

Returns

The zero-based index of the first matching object. Returns -1 if no member of this collection is identical to the DirectoryServicesPermissionEntry object.

Applies to

See also