GraphNodeId::GetNestedValueByName<T> Method (GraphNodeIdName^)

 

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

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public:
generic<typename T>
T GetNestedValueByName(
	GraphNodeIdName^ name
)

Parameters

name
Type: Microsoft.VisualStudio.GraphModel::GraphNodeIdName^

The name to search for.

Return Value

Type: T

The value for the given name if found; the default value otherwise.

Type Parameters

T

Return to top
Show: