GroupDescription.NamesMatch(Object, Object) Method

Definition

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

public:
 virtual bool NamesMatch(System::Object ^ groupName, System::Object ^ itemName);
public virtual bool NamesMatch (object groupName, object itemName);
abstract member NamesMatch : obj * obj -> bool
override this.NamesMatch : obj * obj -> bool
Public Overridable Function NamesMatch (groupName As Object, itemName As Object) As Boolean

Parameters

groupName
Object

The name of the group to check.

itemName
Object

The name of the item to check.

Returns

true if the names match and the item belongs to the group; otherwise, false.

Applies to