GraphNodeCollection.GetByCategory 方法 (array<GraphCategory[])

返回具有指定类别的关系图中的所有节点。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Function GetByCategory ( _
    ParamArray categories As GraphCategory() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetByCategory(
    params GraphCategory[] categories
)
public:
IEnumerable<GraphNode^>^ GetByCategory(
    ... array<GraphCategory^>^ categories
)
member GetByCategory : 
        categories:GraphCategory[] -> IEnumerable<GraphNode> 
public function GetByCategory(
    ... categories : GraphCategory[]
) : IEnumerable<GraphNode>

参数

返回值

类型:IEnumerable<GraphNode>
与筛选器设置匹配的节点

.NET Framework 安全性

请参阅

参考

GraphNodeCollection 类

GetByCategory 重载

Microsoft.VisualStudio.GraphModel 命名空间