Compartilhar via


GraphNodeId.GetNestedValueByName<T>(GraphNodeIdName) Method

Definition

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

public:
generic <typename T>
 T GetNestedValueByName(Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ name);
public T GetNestedValueByName<T> (Microsoft.VisualStudio.GraphModel.GraphNodeIdName name);
member this.GetNestedValueByName : Microsoft.VisualStudio.GraphModel.GraphNodeIdName -> 'T
Public Function GetNestedValueByName(Of T) (name As GraphNodeIdName) As T

Type Parameters

T

Parameters

name
GraphNodeIdName

The name to search for

Returns

T

The value for the given name if found, the default value otherwise

Applies to