GraphNodeIdName.Get Method (String, String, Type, Boolean)

Get or Create a GraphNodeIdName 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, _
    escapeEmbedded As Boolean _
) As GraphNodeIdName
public static GraphNodeIdName Get(
    string name,
    string label,
    Type type,
    bool escapeEmbedded
)
public:
static GraphNodeIdName^ Get(
    String^ name, 
    String^ label, 
    Type^ type, 
    bool escapeEmbedded
)
static member Get : 
        name:string * 
        label:string * 
        type:Type * 
        escapeEmbedded:bool -> GraphNodeIdName
public static function Get(
    name : String, 
    label : String, 
    type : Type, 
    escapeEmbedded : boolean
) : GraphNodeIdName

Parameters

  • name
    Type: String

    The name of the GraphNodeIdName

  • label
    Type: String

    The display name

  • type
    Type: Type

    The type. This parameter is ignored if the name already exists before.

  • escapeEmbedded
    Type: Boolean

    Whether to escape potentially embedded GraphNodeId's for this Name

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdName
The GraphNodeIdName

.NET Framework Security

See Also

Reference

GraphNodeIdName Class

Get Overload

Microsoft.VisualStudio.GraphModel Namespace