GraphLink Constructor (Graph, GraphNode, GraphNode)
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 _
)
public GraphLink(
Graph owner,
GraphNode source,
GraphNode target
)
public:
GraphLink(
Graph^ owner,
GraphNode^ source,
GraphNode^ target
)
new :
owner:Graph *
source:GraphNode *
target:GraphNode -> GraphLink
public function GraphLink(
owner : Graph,
source : GraphNode,
target : GraphNode
)
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
.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.