Freigeben über


GraphCategoryCollection.AddNewCategory-Methode (String, Graph)

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

Syntax

'Declaration
Public Function AddNewCategory ( _
    id As String, _
    metadataGraph As Graph _
) As GraphCategory
public GraphCategory AddNewCategory(
    string id,
    Graph metadataGraph
)
public:
GraphCategory^ AddNewCategory(
    String^ id, 
    Graph^ metadataGraph
)
member AddNewCategory : 
        id:string * 
        metadataGraph:Graph -> GraphCategory 
public function AddNewCategory(
    id : String, 
    metadataGraph : Graph
) : GraphCategory

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.GraphModel.GraphCategory

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphCategoryCollection Klasse

AddNewCategory-Überladung

Microsoft.VisualStudio.GraphModel-Namespace