Freigeben über


GraphLinkCollection.GetOrCreate-Methode (String, GraphNodeId)

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

Syntax

'Declaration
Public Function GetOrCreate ( _
    sourceId As String, _
    targetId As GraphNodeId _
) As GraphLink
public GraphLink GetOrCreate(
    string sourceId,
    GraphNodeId targetId
)
public:
GraphLink^ GetOrCreate(
    String^ sourceId, 
    GraphNodeId^ targetId
)
member GetOrCreate : 
        sourceId:string * 
        targetId:GraphNodeId -> GraphLink 
public function GetOrCreate(
    sourceId : String, 
    targetId : GraphNodeId
) : GraphLink

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.GraphModel.GraphLink

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphLinkCollection Klasse

GetOrCreate-Überladung

Microsoft.VisualStudio.GraphModel-Namespace