Condividi tramite


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

Get correlati i nodi che dispongono di una relazione di contenimento in questo nodo

Spazio dei nomi:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Sintassi

'Dichiarazione
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>

Parametri

  • searchCategories
    Tipo: array<Microsoft.VisualStudio.GraphModel.GraphCategory[]
    Le categorie da cercare.Può trattarsi di una categoria di collegamento, o categoria a un nodo di origine e di destinazione, in base al valore del searchOption e di searchDirection

Valore restituito

Tipo: System.Collections.Generic.IEnumerable<GraphNode>
i nodi correlati

Sicurezza di .NET Framework

Vedere anche

Riferimenti

GraphNode Classe

Overload FindRelatedContainmentNodes

Spazio dei nomi Microsoft.VisualStudio.GraphModel