Partager via


GraphObject.HasCategory Method (String)

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

Returns 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 String _
) As Boolean
public bool HasCategory(
    string category
)
public:
bool HasCategory(
    String^ category
)
member HasCategory : 
        category:string -> bool
public function HasCategory(
    category : String
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GraphObject Class

HasCategory Overload

Microsoft.VisualStudio.GraphModel Namespace