Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constucts a node
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
owner As Graph, _
id As String, _
label As String, _
category As GraphCategory _
)
public GraphNode(
Graph owner,
string id,
string label,
GraphCategory category
)
public:
GraphNode(
Graph^ owner,
String^ id,
String^ label,
GraphCategory^ category
)
new :
owner:Graph *
id:string *
label:string *
category:GraphCategory -> GraphNode
public function GraphNode(
owner : Graph,
id : String,
label : String,
category : GraphCategory
)
Parameters
- owner
Type: Microsoft.VisualStudio.GraphModel.Graph
The owning graph
- id
Type: System.String
unique node identifier
- label
Type: System.String
displayable label
- category
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
category
.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.