GroupDescription.NamesMatch Method (Object, Object)

 

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)

public virtual bool NamesMatch(
	object groupName,
	object itemName
)

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
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: