Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RangeBase Class / GetInnerCollection<T> Method
The type of items in the collection.

In This Topic
    GetInnerCollection<T> Method
    In This Topic
    Creates and returns a collection of content objects in the current range. The returned collection differs from enumerating on the current range itself in that it does not include objects that start before the current range's start and end after the current range's end.
    Syntax
    'Declaration
     
    Public Function GetInnerCollection(Of T As ContentObject)() As ContentObjectCollection(Of T)
    public ContentObjectCollection<T> GetInnerCollection<T>()
    where T: ContentObject

    Type Parameters

    T
    The type of items in the collection.

    Return Value

    The newly created ContentObjectCollection<T>.
    Remarks
    See also remarks on RangeBase.
    See Also