Condividi tramite


GraphLinkCollection.GetAll(GraphNode, GraphNode) Method

Definition

Gets all links between the given source and target nodes. Each link must have a different Index.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphLink ^> ^ GetAll(Microsoft::VisualStudio::GraphModel::GraphNode ^ source, Microsoft::VisualStudio::GraphModel::GraphNode ^ target);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetAll>d__35))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphLink> GetAll (Microsoft.VisualStudio.GraphModel.GraphNode source, Microsoft.VisualStudio.GraphModel.GraphNode target);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetAll>d__35))>]
member this.GetAll : Microsoft.VisualStudio.GraphModel.GraphNode * Microsoft.VisualStudio.GraphModel.GraphNode -> seq<Microsoft.VisualStudio.GraphModel.GraphLink>
Public Iterator Function GetAll (source As GraphNode, target As GraphNode) As IEnumerable(Of GraphLink)

Parameters

source
GraphNode

The source node

target
GraphNode

The target node

Returns

The links connecting these nodes.

Attributes

Applies to