Share via


GraphObject.HasCategory Method (IEnumerable<GraphCategory>)

[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 any of the given categories.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
Returns true if the object has any of the given categories.

.NET Framework Security

See Also

Reference

GraphObject Class

HasCategory Overload

Microsoft.VisualStudio.GraphModel Namespace