Contains Method (AccessControlList)
Determines whether the access control list contains a specific access control entry.
Syntax
'Declaration Public Function Contains( _ ByVal entry As AccessControlEntry _ ) As Boolean
'Usage Dim instance As AccessControlList Dim entry As AccessControlEntry Dim value As Boolean value = instance.Contains(entry)
public bool Contains( AccessControlEntry entry )
public: bool Contains( AccessControlEntry^ entry )
Parameters
- entry
- The AccessControlEntry to locate in the access control list.
Return Value
true if the access control entry is found in the access control list; otherwise, false.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also