GroupDescription.NamesMatch(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.