GraphCategory.Copy Method
Copy the category so you can manage context local metadata.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
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
Parameters
- sourceMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph (or GraphSchema) from which to retrieve the additional metadata for this GraphCategory.
- destinationMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph (or GraphSchema) on which to copy the additional metadata for this GraphCategory.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
A clone of this category with it's own local metadata
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.