GraphNodeIdCollection.GetValueByName<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 GetValueByName(Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ name);
public T GetValueByName<T> (Microsoft.VisualStudio.GraphModel.GraphNodeIdName name);
member this.GetValueByName : Microsoft.VisualStudio.GraphModel.GraphNodeIdName -> 'T
Public Function GetValueByName(Of T) (name As GraphNodeIdName) As T
Type Parameters
- T
Parameters
- name
- GraphNodeIdName
The name to search for
Returns
T
The value from first GraphNodeId that matches the give name, the default value if the name is not found in this collection