GraphCategoryCollection.Copy Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Copies the GraphCategories from one collection to another. This includes the metadata in the source graph to the destination graph.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Copy ( _
other As GraphCategoryCollection, _
sourceMetadataGraph As Graph, _
destinationMetadataGraph As Graph _
) As Boolean
public bool Copy(
GraphCategoryCollection other,
Graph sourceMetadataGraph,
Graph destinationMetadataGraph
)
public:
bool Copy(
GraphCategoryCollection^ other,
Graph^ sourceMetadataGraph,
Graph^ destinationMetadataGraph
)
member Copy :
other:GraphCategoryCollection *
sourceMetadataGraph:Graph *
destinationMetadataGraph:Graph -> bool
public function Copy(
other : GraphCategoryCollection,
sourceMetadataGraph : Graph,
destinationMetadataGraph : Graph
) : boolean
Parameters
other
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryCollectionThe collection to copy from.
sourceMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.GraphThe graph from which to retrieve the additional metadata for this GraphCategory.
destinationMetadataGraph
Type: Microsoft.VisualStudio.GraphModel.GraphThe graph to which to store the additional metadata for this GraphCategory, once copied.
Return Value
Type: System.Boolean
.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.