Share via


GraphNodeCollection.GetOrCreate Method

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetOrCreate(String) Attempts to get the node with the specified id. If not found, it will create a new node.
Public method GetOrCreate(GraphNodeId) Attempts to get the node with the specified id. If not found, it will create a new node.
Public method GetOrCreate(String, String, GraphCategory) Attempts to get the node with the specified id. If not found, it will create a new node.
Public method GetOrCreate(GraphNodeId, String, GraphCategory) Attempts to get the node with the specified id. If not found, it will create a new node.

Top

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace