GraphNode::FindRelatedContainmentNodes Method (GraphSearchDirection, GraphSearchOption, array<GraphCategory^>^)
Visual Studio 2015
Get related nodes that have a containment relationship to this node
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public: IEnumerable<GraphNode^>^ FindRelatedContainmentNodes( GraphSearchDirection searchDirection, GraphSearchOption searchOption, ... array<GraphCategory^>^ searchCategories )
Parameters
- searchDirection
-
Type:
Microsoft.VisualStudio.GraphModel::GraphSearchDirection
Direction - either source or target
- searchOption
-
Type:
Microsoft.VisualStudio.GraphModel::GraphSearchOption
Whether searchCategories refer to link categories or the category of the related node (either source or target depending on searchDirection)
- 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
Show: