Share via


GraphNodeCollection.GetOrCreate Method (GraphNodeId)

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

GetOrCreate Overload

Microsoft.VisualStudio.GraphModel Namespace