Export (0) Print
Expand All

GroupDescription.NamesMatch Method

Returns a value that indicates whether the group name and the item name match such that the item belongs to the group.

Namespace:  System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

'Declaration
Public Overridable Function NamesMatch ( _
	groupName As Object, _
	itemName As Object _
) As Boolean

Parameters

groupName
Type: System.Object

The name of the group to check.

itemName
Type: System.Object

The name of the item to check.

Return Value

Type: System.Boolean
true if the names match and the item belongs to the group; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft