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