Share via


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

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphProperty
A clone of this property with it's own local metadata

.NET Framework Security

See Also

Reference

GraphProperty Class

Microsoft.VisualStudio.GraphModel Namespace