GraphNodeIdName.Get Method (String, String, Type)

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: String

    The name of the GraphNodeId

  • label
    Type: String

    The display name

  • type
    Type: 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

See Also

Reference

GraphNodeIdName Class

Get Overload

Microsoft.VisualStudio.GraphModel Namespace