GraphLink 建構函式 (Graph, GraphNode, GraphNode, String, GraphCategory)
建構連結
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
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
)
參數
- owner
型別:Microsoft.VisualStudio.GraphModel.Graph
擁有此連結的圖形
- source
型別:Microsoft.VisualStudio.GraphModel.GraphNode
來源節點
- target
型別:Microsoft.VisualStudio.GraphModel.GraphNode
目標節點
- label
型別:System.String
可顯示的標籤
- category
型別:Microsoft.VisualStudio.GraphModel.GraphCategory
分類
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。