GraphCategoryCollection::Copy Method (GraphCategoryCollection^, Graph^, Graph^)

 

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)

public:
bool Copy(
	GraphCategoryCollection^ other,
	Graph^ sourceMetadataGraph,
	Graph^ destinationMetadataGraph
)

Parameters

other
Type: Microsoft.VisualStudio.GraphModel::GraphCategoryCollection^

The collection to copy from.

sourceMetadataGraph
Type: Microsoft.VisualStudio.GraphModel::Graph^

The graph from which to retrieve the additional metadata for this GraphCategory.

destinationMetadataGraph
Type: Microsoft.VisualStudio.GraphModel::Graph^

The graph to which to store the additional metadata for this GraphCategory, once copied.

Return Value

Type: System::Boolean

Return to top
Show: