AccessControlList.IndexOf(AccessControlEntry) Method

Definition

Determines the specific index of an access control entry in the access control list.

public:
 int IndexOf(System::Messaging::AccessControlEntry ^ entry);
public int IndexOf (System.Messaging.AccessControlEntry entry);
member this.IndexOf : System.Messaging.AccessControlEntry -> int
Public Function IndexOf (entry As AccessControlEntry) As Integer

Parameters

entry
AccessControlEntry

The AccessControlEntry to locate in the access control list.

Returns

The index of the entry if it was found in the list; otherwise, -1

Applies to

See also