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

In This Topic
    GetChildren<T> Method (ContentObject)
    In This Topic
    Gets the collection of this content object'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