共用方式為


GraphNode.FindAncestorGroups Method

Definition

Returns the list of all ancestor groups that contain this node. This is different from FindAncestors in that it only returns nodes that have IsGroup=true.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphGroup ^> ^ FindAncestorGroups();
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphGroup> FindAncestorGroups ();
member this.FindAncestorGroups : unit -> seq<Microsoft.VisualStudio.GraphModel.GraphGroup>
Public Function FindAncestorGroups () As IEnumerable(Of GraphGroup)

Returns

Applies to