# GrapeCity.Documents.Word.RangeBase.GetInnerCollection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_RangeBase_GetInnerCollection_" data-uid="GrapeCity.Documents.Word.RangeBase.GetInnerCollection*">GetInnerCollection Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_RangeBase_GetInnerCollection_" data-uid="GrapeCity.Documents.Word.RangeBase.GetInnerCollection*"></a>
<h4 id="GrapeCity_Documents_Word_RangeBase_GetInnerCollection__1" data-uid="GrapeCity.Documents.Word.RangeBase.GetInnerCollection``1">GetInnerCollection&lt;T&gt;()</h4>
<div class="markdown level1 summary"><p>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.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ContentObjectCollection&lt;T&gt; GetInnerCollection&lt;T&gt;() where T : ContentObject</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetInnerCollection(Of T As ContentObject)() As ContentObjectCollection(Of T)</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ContentObjectCollection-1.html">ContentObjectCollection</a>&lt;T&gt;</td>
      <td><p>The newly created <a class="xref" href="GrapeCity.Documents.Word.ContentObjectCollection-1.html">ContentObjectCollection&lt;T&gt;</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td><p>The type of items in the collection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Word_RangeBase_GetInnerCollection__1_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>See also remarks on <a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a>.</p>
</div>
</div>
