GraphObject.HasCategoryInSet Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether the given set of categories applies to this object.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function HasCategoryInSet ( _
    categorySet As HashSet(Of GraphCategory), _
    matchOption As GraphCategoryMatchOption _
) As Boolean
public bool HasCategoryInSet(
    HashSet<GraphCategory> categorySet,
    GraphCategoryMatchOption matchOption
)
public:
bool HasCategoryInSet(
    HashSet<GraphCategory^>^ categorySet, 
    GraphCategoryMatchOption matchOption
)
member HasCategoryInSet : 
        categorySet:HashSet<GraphCategory> * 
        matchOption:GraphCategoryMatchOption -> bool
public function HasCategoryInSet(
    categorySet : HashSet<GraphCategory>, 
    matchOption : GraphCategoryMatchOption
) : boolean

Parameters

Return Value

Type: System.Boolean
True if this object has one or more of the given categories; false otherwise.

.NET Framework Security

See Also

Reference

GraphObject Class

Microsoft.VisualStudio.GraphModel Namespace