Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.