Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.Collections.Generic.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.