AccessControlList.IndexOf Method (AccessControlEntry)


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

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public int IndexOf(
	AccessControlEntry entry


Type: System.Messaging.AccessControlEntry

The AccessControlEntry to locate in the access control list.

Return Value

Type: System.Int32

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

.NET Framework
Available since 1.1
Return to top