GraphNodeCollection::Add Method (GraphNode^, GraphNode^)
Visual Studio 2015
Adds the specified node to the graph.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Parameters
- node
-
Type:
Microsoft.VisualStudio.GraphModel::GraphNode^
Node to add
- resultNode
-
Type:
Microsoft.VisualStudio.GraphModel::GraphNode^
The Node that was added
Return Value
Type: System::Boolean| Exception | Condition |
|---|---|
| ArgumentNullException | thrown if node is null |
| InvalidOperationException | thrown if the unique node id already exists |
Show: