共用方式為


GraphNodeCollection.GetOrCreate 方法 (GraphNodeId)

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Function GetOrCreate ( _
    id As GraphNodeId _
) As GraphNode
public GraphNode GetOrCreate(
    GraphNodeId id
)
public:
GraphNode^ GetOrCreate(
    GraphNodeId^ id
)
member GetOrCreate : 
        id:GraphNodeId -> GraphNode 
public function GetOrCreate(
    id : GraphNodeId
) : GraphNode

參數

傳回值

型別:Microsoft.VisualStudio.GraphModel.GraphNode

.NET Framework 安全性

請參閱

參考

GraphNodeCollection 類別

GetOrCreate 多載

Microsoft.VisualStudio.GraphModel 命名空間