Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the links that match the acceptLink predicate. They are found by doing a breadth first search along links matching the traverseLink predicate, in the Source or Target direction designated by the searchDirection.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function FindRelatedLinks ( _
searchDirection As GraphSearchDirection, _
traverseLink As Predicate(Of GraphLink), _
acceptLink As Predicate(Of GraphLink) _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> FindRelatedLinks(
GraphSearchDirection searchDirection,
Predicate<GraphLink> traverseLink,
Predicate<GraphLink> acceptLink
)
public:
IEnumerable<GraphLink^>^ FindRelatedLinks(
GraphSearchDirection searchDirection,
Predicate<GraphLink^>^ traverseLink,
Predicate<GraphLink^>^ acceptLink
)
member FindRelatedLinks :
searchDirection:GraphSearchDirection *
traverseLink:Predicate<GraphLink> *
acceptLink:Predicate<GraphLink> -> IEnumerable<GraphLink>
public function FindRelatedLinks(
searchDirection : GraphSearchDirection,
traverseLink : Predicate<GraphLink>,
acceptLink : Predicate<GraphLink>
) : IEnumerable<GraphLink>
Parameters
- searchDirection
Type: Microsoft.VisualStudio.GraphModel.GraphSearchDirection
- traverseLink
Type: Predicate<GraphLink>
- acceptLink
Type: Predicate<GraphLink>
Return Value
Type: IEnumerable<GraphLink>
The links accepted by the traversal, including the original link.
.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.