GraphNode 建構函式 (Graph, GraphNodeId, String, GraphCategory)
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Sub New ( _
owner As Graph, _
id As GraphNodeId, _
label As String, _
category As GraphCategory _
)
public GraphNode(
Graph owner,
GraphNodeId id,
string label,
GraphCategory category
)
public:
GraphNode(
Graph^ owner,
GraphNodeId^ id,
String^ label,
GraphCategory^ category
)
new :
owner:Graph *
id:GraphNodeId *
label:string *
category:GraphCategory -> GraphNode
public function GraphNode(
owner : Graph,
id : GraphNodeId,
label : String,
category : GraphCategory
)
參數
- label
型別:System.String
- category
型別:Microsoft.VisualStudio.GraphModel.GraphCategory
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。