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>
參數
searchDirection
類型:Microsoft.VisualStudio.GraphModel.GraphSearchDirection方向-來源或目標。
searchOption
類型:Microsoft.VisualStudio.GraphModel.GraphSearchOptionsearchCategories 是否參考連結分類或相關節點的分類 (來源或目標根據 searchDirection)
searchCategories
類型:array<Microsoft.VisualStudio.GraphModel.GraphCategory[]要搜尋的分類。 這可以是連結分類或來源或目標節點分類,根據 searchOption 和 searchDirection 的值
傳回值
類型:IEnumerable<GraphNode>
相關的節點
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。