次の方法で共有


GraphCategoryCollection.Copy(GraphCategoryCollection, Graph, Graph) Method

Definition

Copy the GraphCategories from one collection to another one, including the metadata in the source graph to the destination graph.

public:
 bool Copy(Microsoft::VisualStudio::GraphModel::GraphCategoryCollection ^ other, Microsoft::VisualStudio::GraphModel::Graph ^ sourceMetadataGraph, Microsoft::VisualStudio::GraphModel::Graph ^ destinationMetadataGraph);
public bool Copy (Microsoft.VisualStudio.GraphModel.GraphCategoryCollection other, Microsoft.VisualStudio.GraphModel.Graph sourceMetadataGraph, Microsoft.VisualStudio.GraphModel.Graph destinationMetadataGraph);
member this.Copy : Microsoft.VisualStudio.GraphModel.GraphCategoryCollection * Microsoft.VisualStudio.GraphModel.Graph * Microsoft.VisualStudio.GraphModel.Graph -> bool
Public Function Copy (other As GraphCategoryCollection, sourceMetadataGraph As Graph, destinationMetadataGraph As Graph) As Boolean

Parameters

other
GraphCategoryCollection

The collection to copy from

sourceMetadataGraph
Graph

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

destinationMetadataGraph
Graph

The Graph to which to stopre the additional metadata for this GraphCategory, onced copied.

Returns

Applies to