.netCHARTING v10.5 Documentation


Name of the Group to find.
Contains(String) Method
Determines whether this collection contains a Group with the specified name.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal groupName As String _
) As Boolean
'Usage
 
Dim instance As GroupCollection
Dim groupName As String
Dim value As Boolean
 
value = instance.Contains(groupName)
public bool Contains( 
   string 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