# GrapeCity.Documents.Word.ComplexFieldCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ComplexFieldCollection" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection" class="text-break">ComplexFieldCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.ContentCollection-1.html">ContentCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.ContentRangeCollection-1.html">ContentRangeCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div class="level3"><span class="xref">ComplexFieldCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IContentList-1.html">IContentList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_ComplexFieldCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ComplexFieldCollection : ContentRangeCollection&lt;ComplexField&gt;, IContentList&lt;ComplexField&gt;, IReadOnlyList&lt;ComplexField&gt;, IReadOnlyCollection&lt;ComplexField&gt;, IEnumerable&lt;ComplexField&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ComplexFieldCollection
    Inherits ContentRangeCollection(Of ComplexField)
    Implements IContentList(Of ComplexField), IReadOnlyList(Of ComplexField), IReadOnlyCollection(Of ComplexField), IEnumerable(Of ComplexField), IEnumerable</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Add_GrapeCity_Documents_Word_Fields_IFieldOptions_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Add(GrapeCity.Documents.Word.Fields.IFieldOptions)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Add.html#GrapeCity_Documents_Word_ComplexFieldCollection_Add_GrapeCity_Documents_Word_Fields_IFieldOptions_">Add(IFieldOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> to this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Add_System_String_System_String_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Add(System.String,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Add.html#GrapeCity_Documents_Word_ComplexFieldCollection_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> to this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Insert_GrapeCity_Documents_Word_Fields_IFieldOptions_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Insert(GrapeCity.Documents.Word.Fields.IFieldOptions,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Insert.html#GrapeCity_Documents_Word_ComplexFieldCollection_Insert_GrapeCity_Documents_Word_Fields_IFieldOptions_GrapeCity_Documents_Word_InsertLocation_">Insert(IFieldOptions, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> into this collection at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Insert(System.String,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Insert.html#GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_GrapeCity_Documents_Word_InsertLocation_">Insert(string, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> into this collection at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_System_String_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Insert(System.String,System.String,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Insert.html#GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_System_String_GrapeCity_Documents_Word_InsertLocation_">Insert(string, string, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> into this collection at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_System_String_GrapeCity_Documents_Word_RangeLocation_" data-uid="GrapeCity.Documents.Word.ComplexFieldCollection.Insert(System.String,System.String,GrapeCity.Documents.Word.RangeLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.ComplexFieldCollection.Insert.html#GrapeCity_Documents_Word_ComplexFieldCollection_Insert_System_String_System_String_GrapeCity_Documents_Word_RangeLocation_">Insert(string, string, RangeLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a> into this collection at the specified location.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
