Freigeben über


GraphObject.AddCategory-Methode

Fügt einer Kategorie das Objekt hinzu.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function AddCategory ( _
    category As GraphCategory _
) As Boolean
public bool AddCategory(
    GraphCategory category
)
public:
bool AddCategory(
    GraphCategory^ category
)
member AddCategory : 
        category:GraphCategory -> bool
public function AddCategory(
    category : GraphCategory
) : boolean

Parameter

Rückgabewert

Typ: Boolean
Die Kategorie, die entfernt wurde, oder NULL, wenn diese nicht gefunden wurde.

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphObject Klasse

Microsoft.VisualStudio.GraphModel-Namespace