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
filter
Type: System.Func<GraphLink, Boolean>The filter to use to check which links to include in the result
Return Value
Type: System.Collections.Generic.IEnumerable<GraphLink>
The links chosen by the filter
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.