GraphObject.HasCategoryInSet Method

Determines if 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) _
) As Boolean
public bool HasCategoryInSet(
    HashSet<GraphCategory> categorySet
)
public:
bool HasCategoryInSet(
    HashSet<GraphCategory^>^ categorySet
)
member HasCategoryInSet : 
        categorySet:HashSet<GraphCategory> -> bool 
public function HasCategoryInSet(
    categorySet : HashSet<GraphCategory>
) : 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