GraphCategoryCollection.Copy(GraphCategoryCollection, Graph, Graph) 方法

定义

将 GraphCategories 从一个集合复制到另一个集合,包括源关系图中的元数据和目标关系图。

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

参数

other
GraphCategoryCollection

要从中进行复制的集合

sourceMetadataGraph
Graph

要从中检索此 GraphCategory 的附加元数据的关系图。

destinationMetadataGraph
Graph

要将此 GraphCategory 的其他元数据 stopre 到其中的关系图 onced 复制。

返回

Boolean

适用于