Contains(String) Method
Determines whether this collection contains a Group with the specified name.
Syntax
'Usage Dim instance As GroupCollection Dim groupName As String Dim value As Boolean value = instance.Contains(groupName)
Parameters
- groupName
- Name of the Group to find.
Return Value
true if the specified Group belongs to this collection; 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