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.
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
searchDirection
Type: Microsoft.VisualStudio.GraphModel.GraphSearchDirectionDirection - either source or target
searchOption
Type: Microsoft.VisualStudio.GraphModel.GraphSearchOptionWhether 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
Return Value
Type: IEnumerable<GraphNode>
The related nodes
.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.