GraphObject.HasCategory Method

Definition

Overloads

HasCategory(GraphCategory)
HasCategory(IEnumerable<GraphCategory>)
HasCategory(String)

HasCategory(GraphCategory)

public:
 bool HasCategory(Microsoft::VisualStudio::GraphModel::GraphCategory ^ category);
public bool HasCategory (Microsoft.VisualStudio.GraphModel.GraphCategory category);
member this.HasCategory : Microsoft.VisualStudio.GraphModel.GraphCategory -> bool
Public Function HasCategory (category As GraphCategory) As Boolean

Parameters

category
GraphCategory

Returns

HasCategory(IEnumerable<GraphCategory>)

public:
 bool HasCategory(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphCategory ^> ^ categories);
public bool HasCategory (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphCategory> categories);
member this.HasCategory : seq<Microsoft.VisualStudio.GraphModel.GraphCategory> -> bool
Public Function HasCategory (categories As IEnumerable(Of GraphCategory)) As Boolean

Parameters

Returns

HasCategory(String)

public:
 bool HasCategory(System::String ^ category);
public bool HasCategory (string category);
member this.HasCategory : string -> bool
Public Function HasCategory (category As String) As Boolean

Parameters

category
String

Returns

Applies to