GraphObject.HasCategory Method (GraphCategory)

Return true if the object has the given category.

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

Syntax

'Declaration
Public Function HasCategory ( _
    category As GraphCategory _
) As Boolean
public bool HasCategory(
    GraphCategory category
)
public:
bool HasCategory(
    GraphCategory^ category
)
member HasCategory : 
        category:GraphCategory -> bool 
public function HasCategory(
    category : GraphCategory
) : boolean

Parameters

Return Value

Type: System.Boolean
Return true if the object has the given category

.NET Framework Security

See Also

Reference

GraphObject Class

HasCategory Overload

Microsoft.VisualStudio.GraphModel Namespace