共用方式為


GraphNodeId.GetNestedIdByName(GraphNodeIdName) Method

Definition

Gets a value from the first embedded GraphNodeId that matches the name

public:
 Microsoft::VisualStudio::GraphModel::GraphNodeId ^ GetNestedIdByName(Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ name);
public Microsoft.VisualStudio.GraphModel.GraphNodeId GetNestedIdByName (Microsoft.VisualStudio.GraphModel.GraphNodeIdName name);
member this.GetNestedIdByName : Microsoft.VisualStudio.GraphModel.GraphNodeIdName -> Microsoft.VisualStudio.GraphModel.GraphNodeId
Public Function GetNestedIdByName (name As GraphNodeIdName) As GraphNodeId

Parameters

name
GraphNodeIdName

The name to search for

Returns

The GraphNodeId that matches the given name, null if not found

Applies to