Share via


GraphCategoryCollection.Copy Method

Copies the GraphCategories from one collection to another. This includes the metadata in the source graph to the destination graph.

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

Syntax

'Declaration
Public Function Copy ( _
    other As GraphCategoryCollection, _
    sourceMetadataGraph As Graph, _
    destinationMetadataGraph As Graph _
) As Boolean
public bool Copy(
    GraphCategoryCollection other,
    Graph sourceMetadataGraph,
    Graph destinationMetadataGraph
)
public:
bool Copy(
    GraphCategoryCollection^ other, 
    Graph^ sourceMetadataGraph, 
    Graph^ destinationMetadataGraph
)
member Copy : 
        other:GraphCategoryCollection * 
        sourceMetadataGraph:Graph * 
        destinationMetadataGraph:Graph -> bool
public function Copy(
    other : GraphCategoryCollection, 
    sourceMetadataGraph : Graph, 
    destinationMetadataGraph : Graph
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

GraphCategoryCollection Class

Microsoft.VisualStudio.GraphModel Namespace