Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Body Class / GetChildren<T> Method
The requested type of child objects.

In This Topic
    GetChildren<T> Method (Body)
    In This Topic
    Gets the collection of this body's children of a specified type.
    Syntax
    'Declaration
     
    Public Function GetChildren(Of T As ContentObject)() As System.Collections.Generic.IReadOnlyList(Of T)
    public System.Collections.Generic.IReadOnlyList<T> GetChildren<T>()
    where T: ContentObject

    Type Parameters

    T
    The requested type of child objects.

    Return Value

    A readonly list of this object's children with the specified type.
    See Also