GraphObject.AddCategory(GraphCategory) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a category to the object
public:
bool AddCategory(Microsoft::VisualStudio::GraphModel::GraphCategory ^ category);
public bool AddCategory (Microsoft.VisualStudio.GraphModel.GraphCategory category);
member this.AddCategory : Microsoft.VisualStudio.GraphModel.GraphCategory -> bool
Public Function AddCategory (category As GraphCategory) As Boolean
Parameters
- category
- GraphCategory
The category to add
Returns
The category if it was removed, or null if it was not found