Compartilhar via


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);
public static Microsoft.VisualStudio.GraphModel.GraphNodeId GetPartial (Microsoft.VisualStudio.GraphModel.GraphNodeIdName name, object value);
static member GetPartial : Microsoft.VisualStudio.GraphModel.GraphNodeIdName * obj -> Microsoft.VisualStudio.GraphModel.GraphNodeId
Public Shared Function GetPartial (name As GraphNodeIdName, value As Object) As GraphNodeId

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