GraphNodeCollection.CreateNew(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a new node using the given base name format for the node. This method formats the given string with integer values until it finds an id that is not currently in use, then creates a node with that id.
public:
Microsoft::VisualStudio::GraphModel::GraphNode ^ CreateNew(System::String ^ idFormat);
public Microsoft.VisualStudio.GraphModel.GraphNode CreateNew (string idFormat);
member this.CreateNew : string -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function CreateNew (idFormat As String) As GraphNode
Parameters
- idFormat
- String
The string to format to create the new node id
Returns
The newly created node