共用方式為


Graph.GetGroupDescendants 方法 (IEnumerable<GraphObject>)

取得其中某些物件可能是群組的圖形物件指定清單中的所有子代節點的一般清單。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Shared Function GetGroupDescendants ( _
    graphObjects As IEnumerable(Of GraphObject) _
) As IEnumerable(Of GraphNode)
public static IEnumerable<GraphNode> GetGroupDescendants(
    IEnumerable<GraphObject> graphObjects
)
public:
static IEnumerable<GraphNode^>^ GetGroupDescendants(
    IEnumerable<GraphObject^>^ graphObjects
)
static member GetGroupDescendants : 
        graphObjects:IEnumerable<GraphObject> -> IEnumerable<GraphNode> 
public static function GetGroupDescendants(
    graphObjects : IEnumerable<GraphObject>
) : IEnumerable<GraphNode>

參數

  • graphObjects
    類型:IEnumerable<GraphObject>

    簡維的物件清單。

傳回值

類型:IEnumerable<GraphNode>
所有子代節點一般清單,包括扁平群組的節點。

.NET Framework 安全性

請參閱

參考

Graph 類別

GetGroupDescendants 多載

Microsoft.VisualStudio.GraphModel 命名空間