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: StringThe name of the GraphNodeId
label
Type: StringThe display name
type
Type: TypeThe 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.