Partilhar via


Método GraphLinkCollection.Get (GraphNodeId, GraphNodeId)

Obtém o link com a fonte especificada usando GraphNodeId

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

Sintaxe

'Declaração
Public Function Get ( _
    sourceId As GraphNodeId, _
    targetId As GraphNodeId _
) As GraphLink
public GraphLink Get(
    GraphNodeId sourceId,
    GraphNodeId targetId
)
public:
GraphLink^ Get(
    GraphNodeId^ sourceId, 
    GraphNodeId^ targetId
)
member Get : 
        sourceId:GraphNodeId * 
        targetId:GraphNodeId -> GraphLink 
public function Get(
    sourceId : GraphNodeId, 
    targetId : GraphNodeId
) : GraphLink

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.GraphLink
O link que foi encontrado.Caso contrário, zero

Segurança do .NET Framework

Consulte também

Referência

GraphLinkCollection Classe

Sobrecargas Get

Namespace Microsoft.VisualStudio.GraphModel