Share via


GraphNodeCollection.Add Method (GraphNode, GraphNode%)

Adds the specified node to the graph.

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

Syntax

'Declaration
Public Function Add ( _
    node As GraphNode, _
    <OutAttribute> ByRef resultNode As GraphNode _
) As Boolean
public bool Add(
    GraphNode node,
    out GraphNode resultNode
)
public:
bool Add(
    GraphNode^ node, 
    [OutAttribute] GraphNode^% resultNode
)
member Add : 
        node:GraphNode * 
        resultNode:GraphNode byref -> bool 
public function Add(
    node : GraphNode, 
    resultNode : GraphNode
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Add Overload

Microsoft.VisualStudio.GraphModel Namespace