GraphObject.RemoveCategory Method
Removes the category of this object.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function RemoveCategory ( _
category As GraphCategory _
) As GraphCategory
public GraphCategory RemoveCategory(
GraphCategory category
)
public:
GraphCategory^ RemoveCategory(
GraphCategory^ category
)
member RemoveCategory :
category:GraphCategory -> GraphCategory
public function RemoveCategory(
category : GraphCategory
) : GraphCategory
Parameters
category
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryThe category to remove.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
The category, if it was removed, or null if it was not found.
.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.