Share via


GraphNodeId.GetPartial Method

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)

Syntax

'Declaration
Public Shared Function GetPartial ( _
    name As GraphNodeIdName, _
    value As Object _
) As GraphNodeId
public static GraphNodeId GetPartial(
    GraphNodeIdName name,
    Object value
)
public:
static GraphNodeId^ GetPartial(
    GraphNodeIdName^ name, 
    Object^ value
)
static member GetPartial : 
        name:GraphNodeIdName * 
        value:Object -> GraphNodeId
public static function GetPartial(
    name : GraphNodeIdName, 
    value : Object
) : GraphNodeId

Parameters

  • value
    Type: Object

    The value to search for.

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNodeId
The partial GraphNodeId if found; null otherwise.

.NET Framework Security

See Also

Reference

GraphNodeId Class

Microsoft.VisualStudio.GraphModel Namespace