AccessControlList.Contains Method (AccessControlEntry)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the access control list contains a specific access control entry.

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

public bool Contains(
	AccessControlEntry entry


Type: System.Messaging.AccessControlEntry

The AccessControlEntry to locate in the access control list.

Return Value

Type: System.Boolean

true if the access control entry is found in the access control list; otherwise, false.

.NET Framework
Available since 1.1
Return to top