Partilhar via


Método GraphNode.FindRelatedContainmentNodes (GraphSearchDirection, GraphSearchOption, array<GraphCategory )

Get relacionados nós que possuem um relacionamento de retenção para este nó

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

Sintaxe

'Declaração
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>

Parâmetros

  • searchCategories
    Tipo: array<Microsoft.VisualStudio.GraphModel.GraphCategory[]
    As categorias a procurar por.Isso pode ser uma categoria de link, ou categoria de um nó de origem ou de destino, dependendo do valor de searchOption e de searchDirection

Valor de retorno

Tipo: System.Collections.Generic.IEnumerable<GraphNode>
Os nós relacionados

Segurança do .NET Framework

Consulte também

Referência

GraphNode Classe

Sobrecargas FindRelatedContainmentNodes

Namespace Microsoft.VisualStudio.GraphModel