共用方式為


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
)

參數

.NET Framework 安全性

請參閱

參考

GraphNode 類別

GraphNode 多載

Microsoft.VisualStudio.GraphModel 命名空間