GraphCategory.Copy 方法

复制类别,以便管理上下文本地元数据。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Function Copy ( _
    sourceMetadataGraph As Graph, _
    destinationMetadataGraph As Graph _
) As GraphCategory
public GraphCategory Copy(
    Graph sourceMetadataGraph,
    Graph destinationMetadataGraph
)
public:
GraphCategory^ Copy(
    Graph^ sourceMetadataGraph, 
    Graph^ destinationMetadataGraph
)
member Copy : 
        sourceMetadataGraph:Graph * 
        destinationMetadataGraph:Graph -> GraphCategory 
public function Copy(
    sourceMetadataGraph : Graph, 
    destinationMetadataGraph : Graph
) : GraphCategory

参数

返回值

类型:Microsoft.VisualStudio.GraphModel.GraphCategory
具有自己的本地元数据的此类别的克隆

.NET Framework 安全性

请参见

参考

GraphCategory 类

Microsoft.VisualStudio.GraphModel 命名空间