Compartilhar via


GraphObject.RemoveCategory(GraphCategory) Method

Definition

Remove the category of this object

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

Parameters

category
GraphCategory

The category to remove

Returns

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

Applies to