Delen via


GraphEnumerable.GetDescendants Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetDescendants ( _
    objects As IEnumerable(Of GraphObject) _
) As IEnumerable(Of GraphObject)
public static IEnumerable<GraphObject> GetDescendants(
    this IEnumerable<GraphObject> objects
)
[ExtensionAttribute]
public:
static IEnumerable<GraphObject^>^ GetDescendants(
    IEnumerable<GraphObject^>^ objects
)
static member GetDescendants : 
        objects:IEnumerable<GraphObject> -> IEnumerable<GraphObject> 
public static function GetDescendants(
    objects : IEnumerable<GraphObject>
) : IEnumerable<GraphObject>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphObject>
Returns IEnumerable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<GraphObject>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

GraphEnumerable Class

Microsoft.VisualStudio.GraphModel Namespace