GraphNodeCollection.Item[String] Property
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.
Gets the Node using the given id. Throws exception on set if another node with the same id already exists.
public:
property Microsoft::VisualStudio::GraphModel::GraphNode ^ default[System::String ^] { Microsoft::VisualStudio::GraphModel::GraphNode ^ get(System::String ^ id); };
public Microsoft.VisualStudio.GraphModel.GraphNode this[string id] { get; }
member this.Item(string) : Microsoft.VisualStudio.GraphModel.GraphNode
Default Public ReadOnly Property Item(id As String) As GraphNode
Parameters
- id
- String
The Id of the node to get
Property Value
The Node or null if it does not exist