GraphObject.AddCategory Method
Add a category to the object
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub AddCategory ( _
category As GraphCategory _
)
public void AddCategory(
GraphCategory category
)
public:
void AddCategory(
GraphCategory^ category
)
member AddCategory :
category:GraphCategory -> unit
public function AddCategory(
category : GraphCategory
)
Parameters
- category
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
The category to add
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.