Share via


GraphNodeId.GetNestedValueByName<T> Method

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)

Syntax

'Declaration
Public Function GetNestedValueByName(Of T) ( _
    name As GraphNodeIdName _
) As T
public T GetNestedValueByName<T>(
    GraphNodeIdName name
)
public:
generic<typename T>
T GetNestedValueByName(
    GraphNodeIdName^ name
)
member GetNestedValueByName : 
        name:GraphNodeIdName -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GraphNodeId Class

Microsoft.VisualStudio.GraphModel Namespace