GraphNode.FindAncestorGroups Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the list of all ancestor groups that contain this node. This differs from FindAncestors because it only returns nodes that have IsGroup=true.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
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>
Return Value
Type: System.Collections.Generic.IEnumerable<GraphGroup>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.