共用方式為


GraphObject.RemoveCategory 方法

移除此物件的分類

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
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

參數

傳回值

型別:Microsoft.VisualStudio.GraphModel.GraphCategory
如果已被移除則為分類,如果找不到則為 Null。

.NET Framework 安全性

請參閱

參考

GraphObject 類別

Microsoft.VisualStudio.GraphModel 命名空間