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: StringThe name of the GraphNodeIdName
label
Type: StringThe display name
type
Type: TypeThe type. This parameter is ignored if the name already exists before.
escapeEmbedded
Type: BooleanWhether to escape potentially embedded GraphNodeId's for this Name
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdName
The GraphNodeIdName
.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.