Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
Parameters
- sourceId
Type: System.String
- targetId
Type: Microsoft.VisualStudio.GraphModel.GraphNodeId
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphLink
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.