GraphObject::HasCategoryInSet Method (HashSet<GraphCategory^>^, GraphCategoryMatchOption)
Visual Studio 2015
Determines whether the given set of categories applies to this object.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public: bool HasCategoryInSet( HashSet<GraphCategory^>^ categorySet, GraphCategoryMatchOption matchOption )
Parameters
- categorySet
-
Type:
System.Collections.Generic::HashSet<GraphCategory^>^
The set of categories to search on.
- matchOption
-
Type:
Microsoft.VisualStudio.GraphModel::GraphCategoryMatchOption
Whether to match the categories exactly or allow for inherited categories to also match.
Return Value
Type: System::BooleanTrue if this object has one or more of the given categories; false otherwise.
Show: