# GrapeCity.Documents.Word.FormattingBagList-1.Insert

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_FormattingBagList_1_Insert_" data-uid="GrapeCity.Documents.Word.FormattingBagList`1.Insert*">Insert Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_FormattingBagList_1_Insert_" data-uid="GrapeCity.Documents.Word.FormattingBagList`1.Insert*"></a>
<h4 id="GrapeCity_Documents_Word_FormattingBagList_1_Insert_System_Int32_" data-uid="GrapeCity.Documents.Word.FormattingBagList`1.Insert(System.Int32)">Insert(int)</h4>
<div class="markdown level1 summary"><p>Inserts a new item to the list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected T Insert(int index)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function Insert(index As Integer) As T</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The item index.</p>
</td>
    </tr>
  </tbody>
</table>
<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><span class="xref">T</span></td>
      <td><p>The inserted item.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_FormattingBagList_1_Insert_" data-uid="GrapeCity.Documents.Word.FormattingBagList`1.Insert*"></a>
<h4 id="GrapeCity_Documents_Word_FormattingBagList_1_Insert_System_Int32_System_Guid_" data-uid="GrapeCity.Documents.Word.FormattingBagList`1.Insert(System.Int32,System.Guid)">Insert(int, Guid)</h4>
<div class="markdown level1 summary"><p>Inserts a new item to the list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected T Insert(int index, Guid guid)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function Insert(index As Integer, guid As Guid) As T</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The item index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">guid</span></td>
      <td><p>The item GUID.</p>
</td>
    </tr>
  </tbody>
</table>
<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><span class="xref">T</span></td>
      <td><p>The inserted item.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
