Udostępnij za pośrednictwem


GraphLinkCollection.GetFiltered(Func<GraphLink,Boolean>) Method

Definition

Returns all nodes in the graph that match according to the given filter

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphLink ^> ^ GetFiltered(Func<Microsoft::VisualStudio::GraphModel::GraphLink ^, bool> ^ filter);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetFiltered>d__49))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphLink> GetFiltered (Func<Microsoft.VisualStudio.GraphModel.GraphLink,bool> filter);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetFiltered>d__49))>]
member this.GetFiltered : Func<Microsoft.VisualStudio.GraphModel.GraphLink, bool> -> seq<Microsoft.VisualStudio.GraphModel.GraphLink>
Public Iterator Function GetFiltered (filter As Func(Of GraphLink, Boolean)) As IEnumerable(Of GraphLink)

Parameters

filter
Func<GraphLink,Boolean>

The filter to use to check which links to include in the result

Returns

The Links chosen by the filter

Attributes

Applies to