GraphNode.FindRelatedContainmentNodes Method (GraphSearchDirection, GraphSearchOption, array<GraphCategory )

Get related nodes that have a containment relationship to this node

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

Syntax

'Declaration
Public Function FindRelatedContainmentNodes ( _
    searchDirection As GraphSearchDirection, _
    searchOption As GraphSearchOption, _
    ParamArray searchCategories As GraphCategory() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> FindRelatedContainmentNodes(
    GraphSearchDirection searchDirection,
    GraphSearchOption searchOption,
    params GraphCategory[] searchCategories
)
public:
IEnumerable<GraphNode^>^ FindRelatedContainmentNodes(
    GraphSearchDirection searchDirection, 
    GraphSearchOption searchOption, 
    ... array<GraphCategory^>^ searchCategories
)
member FindRelatedContainmentNodes : 
        searchDirection:GraphSearchDirection * 
        searchOption:GraphSearchOption * 
        searchCategories:GraphCategory[] -> IEnumerable<GraphNode> 
public function FindRelatedContainmentNodes(
    searchDirection : GraphSearchDirection, 
    searchOption : GraphSearchOption, 
    ... searchCategories : GraphCategory[]
) : IEnumerable<GraphNode>

Parameters

  • searchCategories
    Type: array<Microsoft.VisualStudio.GraphModel.GraphCategory[]

    The categories to search for. This can be a link category, or a source or target node category, depending on the value of searchOption and searchDirection

Return Value

Type: IEnumerable<GraphNode>
The related nodes

.NET Framework Security

See Also

Reference

GraphNode Class

FindRelatedContainmentNodes Overload

Microsoft.VisualStudio.GraphModel Namespace