共用方式為


GraphNode.FindRelatedContainmentNodes 方法 (GraphSearchDirection)

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

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

語法

'宣告
Public Function FindRelatedContainmentNodes ( _
    searchDirection As GraphSearchDirection _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> FindRelatedContainmentNodes(
    GraphSearchDirection searchDirection
)
public:
IEnumerable<GraphNode^>^ FindRelatedContainmentNodes(
    GraphSearchDirection searchDirection
)
member FindRelatedContainmentNodes : 
        searchDirection:GraphSearchDirection -> IEnumerable<GraphNode> 
public function FindRelatedContainmentNodes(
    searchDirection : GraphSearchDirection
) : IEnumerable<GraphNode>

參數

傳回值

型別:System.Collections.Generic.IEnumerable<GraphNode>
相關節點。

.NET Framework 安全性

請參閱

參考

GraphNode 類別

FindRelatedContainmentNodes 多載

Microsoft.VisualStudio.GraphModel 命名空間