Compartilhar via


GraphNodeCollection.Get Method

Definition

Overloads

Get(GraphNodeId)

Gets the node with the specified id

Get(String)

Gets the node with the specified id

Get(GraphNodeId)

Gets the node with the specified id

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ Get(Microsoft::VisualStudio::GraphModel::GraphNodeId ^ id);
public Microsoft.VisualStudio.GraphModel.GraphNode Get (Microsoft.VisualStudio.GraphModel.GraphNodeId id);
member this.Get : Microsoft.VisualStudio.GraphModel.GraphNodeId -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function Get (id As GraphNodeId) As GraphNode

Parameters

id
GraphNodeId

The Id of the node to get

Returns

The Node or null if it does not exist

Applies to

Get(String)

Gets the node with the specified id

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ Get(System::String ^ id);
public Microsoft.VisualStudio.GraphModel.GraphNode Get (string id);
member this.Get : string -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function Get (id As String) As GraphNode

Parameters

id
String

The Id of the node to get

Returns

The Node or null if it does not exist

Applies to