GraphNodeId::GetPartial Method (GraphNodeIdName^, Object^)

 

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.

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public:
static GraphNodeId^ GetPartial(
	GraphNodeIdName^ name,
	Object^ value
)

Parameters

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

The name to search for.

value
Type: System::Object^

The value to search for.

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphNodeId^

The partial GraphNodeId if found; null otherwise.

Return to top
Show: