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.]
Get or Create a GraphNodeId based on the name, type and formatter.
Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function Get ( _
    name As String, _
    label As String, _
    type As Type _
) As GraphNodeIdName
public static GraphNodeIdName Get(
    string name,
    string label,
    Type type
)
public:
static GraphNodeIdName^ Get(
    String^ name, 
    String^ label, 
    Type^ type
)
static member Get : 
        name:string * 
        label:string * 
        type:Type -> GraphNodeIdName
public static function Get(
    name : String, 
    label : String, 
    type : Type
) : GraphNodeIdName
Parameters
- name 
 Type: System.String- The name of the GraphNodeId 
- label 
 Type: System.String- The display name 
- type 
 Type: System.Type- The type. This parameter is ignored if the name already exists before. 
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdName
The GraphNodeId
.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.