Compartilhar via


GraphNodeIdName.Get Method

Definition

Overloads

Get(String, String, Type)

Get or Create a GraphNodeId based on the name, type and formatter.

Get(String, String, Type, Boolean)

Get or Create a GraphNodeIdName based on the name, type and formatter.

Get(String, String, Type)

Get or Create a GraphNodeId based on the name, type and formatter.

public:
 static Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ Get(System::String ^ name, System::String ^ label, Type ^ type);
public static Microsoft.VisualStudio.GraphModel.GraphNodeIdName Get (string name, string label, Type type);
static member Get : string * string * Type -> Microsoft.VisualStudio.GraphModel.GraphNodeIdName
Public Shared Function Get (name As String, label As String, type As Type) As GraphNodeIdName

Parameters

name
String

The name of the GraphNodeId

label
String

The display name

type
Type

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

Returns

The GraphNodeId

Applies to

Get(String, String, Type, Boolean)

Get or Create a GraphNodeIdName based on the name, type and formatter.

public:
 static Microsoft::VisualStudio::GraphModel::GraphNodeIdName ^ Get(System::String ^ name, System::String ^ label, Type ^ type, bool escapeEmbedded);
public static Microsoft.VisualStudio.GraphModel.GraphNodeIdName Get (string name, string label, Type type, bool escapeEmbedded);
static member Get : string * string * Type * bool -> Microsoft.VisualStudio.GraphModel.GraphNodeIdName
Public Shared Function Get (name As String, label As String, type As Type, escapeEmbedded As Boolean) As GraphNodeIdName

Parameters

name
String

The name of the GraphNodeIdName

label
String

The display name

type
Type

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

escapeEmbedded
Boolean

Whether to escape potentially embedded GraphNodeId's for this Name

Returns

The GraphNodeIdName

Applies to