Método GraphCategoryCollection.AddNewCategory (String, Graph, GraphMetadata)

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

Sintaxe

'Declaração
Public Function AddNewCategory ( _
    id As String, _
    metadataGraph As Graph, _
    metadata As GraphMetadata _
) As GraphCategory
public GraphCategory AddNewCategory(
    string id,
    Graph metadataGraph,
    GraphMetadata metadata
)
public:
GraphCategory^ AddNewCategory(
    String^ id, 
    Graph^ metadataGraph, 
    GraphMetadata^ metadata
)
member AddNewCategory : 
        id:string * 
        metadataGraph:Graph * 
        metadata:GraphMetadata -> GraphCategory 
public function AddNewCategory(
    id : String, 
    metadataGraph : Graph, 
    metadata : GraphMetadata
) : GraphCategory

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.GraphCategory

Segurança do .NET Framework

Consulte também

Referência

GraphCategoryCollection Classe

Sobrecargas AddNewCategory

Namespace Microsoft.VisualStudio.GraphModel