GraphNodeId.GetPartial(GraphNodeIdName, Object) Method

Definition

Gets a partial GraphNodeId based on the name and value. Does a lookup against a Dictionary to minimize the number of GraphNodeIds around. It is generally not right to get a partial GraphNodeId and use it for a node id. Always use a full Nested GraphNodeId;

public:
 static Microsoft::VisualStudio::GraphModel::GraphNodeId ^ GetPartial(Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ name, System::Object ^ value);

Parameters

name
GraphNodeIdName

The name to search for

value
Object

The value to search for

Returns

The partial GraphNodeId if found, null otherwise

Applies to