GraphNode.FindAncestorGroups Method
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: 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.