GraphProperty.Copy Method
Copy the property 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 GraphProperty
public GraphProperty Copy(
Graph sourceMetadataGraph,
Graph destinationMetadataGraph
)
public:
GraphProperty^ Copy(
Graph^ sourceMetadataGraph,
Graph^ destinationMetadataGraph
)
member Copy :
sourceMetadataGraph:Graph *
destinationMetadataGraph:Graph -> GraphProperty
public function Copy(
sourceMetadataGraph : Graph,
destinationMetadataGraph : Graph
) : GraphProperty
Parameters
- sourceMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph (or GraphSchema) from which to retrieve the additional metadata for this GraphProperty.
- destinationMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph (or GraphSchema) on which to copy the additional metadata for this GraphProperty.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphProperty
A clone of this property 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.