GraphNodeId.GetNestedValueByName<T>(GraphNodeIdName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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