GraphObject::HasCategory Method (IEnumerable<GraphCategory^>^)

 

Returns true if the object has any of the given categories.

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

public:
bool HasCategory(
	IEnumerable<GraphCategory^>^ categories
)

Parameters

categories
Type: System.Collections.Generic::IEnumerable<GraphCategory^>^

The categories to check.

Return Value

Type: System::Boolean

Returns true if the object has any of the given categories.

Return to top
Show: