Delen via


GraphCategoryCollection.Copy Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.Boolean

.NET Framework Security

See Also

Reference

GraphCategoryCollection Class

Microsoft.VisualStudio.GraphModel Namespace