共用方式為


GraphNode.FindRelatedContainmentNodes 方法 (GraphSearchDirection, GraphSearchOption, array<GraphCategory[])

取得與這個節點的內含項目關聯性的相關節點

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
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>

參數

傳回值

類型:IEnumerable<GraphNode>
相關的節點

.NET Framework 安全性

請參閱

參考

GraphNode 類別

FindRelatedContainmentNodes 多載

Microsoft.VisualStudio.GraphModel 命名空間