GraphObject::AddCategory Method (GraphCategory^)

 

Adds a category to the object.

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

public:
bool AddCategory(
	GraphCategory^ category
)

Parameters

category
Type: Microsoft.VisualStudio.GraphModel::GraphCategory^

The category to add.

Return Value

Type: System::Boolean

The category, if it was removed, or null if it was not found.

Return to top
Show: