GraphNodeIdCollection::GetValueByName<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 GetValueByName(
	GraphNodeIdName^ name
)

Parameters

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

The name to search for

Return Value

Type: T

The value from first GraphNodeId that matches the give name, the default value if the name is not found in this collection

Type Parameters

T

Return to top
Show: