Partilhar via


Método GraphLinkCollection.Get (GraphNodeId, GraphNodeId, Int32)

Obtém o link com o índice especificado de origem e de destino do link e

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, _
    index As Integer _
) As GraphLink
public GraphLink Get(
    GraphNodeId sourceId,
    GraphNodeId targetId,
    int index
)
public:
GraphLink^ Get(
    GraphNodeId^ sourceId, 
    GraphNodeId^ targetId, 
    int index
)
member Get : 
        sourceId:GraphNodeId * 
        targetId:GraphNodeId * 
        index:int -> GraphLink 
public function Get(
    sourceId : GraphNodeId, 
    targetId : GraphNodeId, 
    index : int
) : 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