GraphLink Constructor (Graph, GraphNode, GraphNode, String, GraphCategory)
Constructs a link
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
owner As Graph, _
source As GraphNode, _
target As GraphNode, _
label As String, _
category As GraphCategory _
)
public GraphLink(
Graph owner,
GraphNode source,
GraphNode target,
string label,
GraphCategory category
)
public:
GraphLink(
Graph^ owner,
GraphNode^ source,
GraphNode^ target,
String^ label,
GraphCategory^ category
)
new :
owner:Graph *
source:GraphNode *
target:GraphNode *
label:string *
category:GraphCategory -> GraphLink
public function GraphLink(
owner : Graph,
source : GraphNode,
target : GraphNode,
label : String,
category : GraphCategory
)
Parameters
- owner
Type: Microsoft.VisualStudio.GraphModel.Graph
The Graph that owns this link
- source
Type: Microsoft.VisualStudio.GraphModel.GraphNode
source node
- target
Type: Microsoft.VisualStudio.GraphModel.GraphNode
target node
- 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.