Delen via


GraphLinkCollection.GetFiltered Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Function GetFiltered ( _
    filter As Func(Of GraphLink, Boolean) _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> GetFiltered(
    Func<GraphLink, bool> filter
)
public:
IEnumerable<GraphLink^>^ GetFiltered(
    Func<GraphLink^, bool>^ filter
)
member GetFiltered : 
        filter:Func<GraphLink, bool> -> IEnumerable<GraphLink> 
public function GetFiltered(
    filter : Func<GraphLink, boolean>
) : IEnumerable<GraphLink>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphLink>
The links chosen by the filter

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Microsoft.VisualStudio.GraphModel Namespace