Graph.Merge Method (IEnumerable<GraphObject>)

Merges all new nodes and links from the given list of graph objects into this graph.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function Merge ( _
    other As IEnumerable(Of GraphObject) _
) As Boolean
public bool Merge(
    IEnumerable<GraphObject> other
)
public:
bool Merge(
    IEnumerable<GraphObject^>^ other
)
member Merge : 
        other:IEnumerable<GraphObject> -> bool
public function Merge(
    other : IEnumerable<GraphObject>
) : boolean

Parameters

  • other
    Type: IEnumerable<GraphObject>

    The list of graph objects to use as a source for merging.

Return Value

Type: Boolean
True if the graph was changed. Otherwise, false.

.NET Framework Security

See Also

Reference

Graph Class

Merge Overload

Microsoft.VisualStudio.GraphModel Namespace