Udostępnij za pośrednictwem


GraphCategoryCollection.AddNewCategory Method (String, Graph, GraphMetadata)

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

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphCategory

.NET Framework Security

See Also

Reference

GraphCategoryCollection Class

AddNewCategory Overload

Microsoft.VisualStudio.GraphModel Namespace