GraphNode.FindAncestorGroups 方法

返回包含此节点所有上级组的列表。 这与 FindAncestors 不同,因为它只返回具有 IsGroup=true 的节点。

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

语法

声明
Public Function FindAncestorGroups As IEnumerable(Of GraphGroup)
public IEnumerable<GraphGroup> FindAncestorGroups()
public:
IEnumerable<GraphGroup^>^ FindAncestorGroups()
member FindAncestorGroups : unit -> IEnumerable<GraphGroup> 
public function FindAncestorGroups() : IEnumerable<GraphGroup>

返回值

类型:IEnumerable<GraphGroup>

.NET Framework 安全性

请参阅

参考

GraphNode 类

Microsoft.VisualStudio.GraphModel 命名空间