次の方法で共有


GraphObject.AddCategory(GraphCategory) Method

Definition

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

Applies to