GraphLinkCollection.GetAll(GraphNode, GraphNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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