Condividi tramite


GraphNodeCollection.Item[String] Property

Definition

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

Applies to