GroupDescription.NamesMatch Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Indicates whether the specified item belongs in the specified group.

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


Public Overridable Function NamesMatch ( _
    groupName As Object, _
    itemName As Object _
) As Boolean
public virtual bool NamesMatch(
    Object groupName,
    Object itemName


Return Value

Type: System..::.Boolean
true if the item belongs in the group; otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


GroupDescription Class

System.ComponentModel Namespace