Share via


GraphCategory.Copy Method

Copy the category so you can manage context local metadata.

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

Syntax

'Declaration
Public Function Copy ( _
    sourceMetadataGraph As Graph, _
    destinationMetadataGraph As Graph _
) As GraphCategory
public GraphCategory Copy(
    Graph sourceMetadataGraph,
    Graph destinationMetadataGraph
)
public:
GraphCategory^ Copy(
    Graph^ sourceMetadataGraph, 
    Graph^ destinationMetadataGraph
)
member Copy : 
        sourceMetadataGraph:Graph * 
        destinationMetadataGraph:Graph -> GraphCategory 
public function Copy(
    sourceMetadataGraph : Graph, 
    destinationMetadataGraph : Graph
) : GraphCategory

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphCategory
A clone of this category with it's own local metadata

.NET Framework Security

See Also

Reference

GraphCategory Class

Microsoft.VisualStudio.GraphModel Namespace