# GrapeCity.Documents.Word.FieldCodeCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_FieldCodeCollection" data-uid="GrapeCity.Documents.Word.FieldCodeCollection" class="text-break">FieldCodeCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</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.FieldCode.html">FieldCode</a>&gt;</div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.ContentObjectCollection-1.html">ContentObjectCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</a>&gt;</div>
    <div class="level3"><span class="xref">FieldCodeCollection</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.FieldCode.html">FieldCode</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.FieldCode.html">FieldCode</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.FieldCode.html">FieldCode</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.FieldCode.html">FieldCode</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_FieldCodeCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FieldCodeCollection : ContentObjectCollection&lt;FieldCode&gt;, IContentList&lt;FieldCode&gt;, IReadOnlyList&lt;FieldCode&gt;, IReadOnlyCollection&lt;FieldCode&gt;, IEnumerable&lt;FieldCode&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FieldCodeCollection
    Inherits ContentObjectCollection(Of FieldCode)
    Implements IContentList(Of FieldCode), IReadOnlyList(Of FieldCode), IReadOnlyCollection(Of FieldCode), IEnumerable(Of FieldCode), 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_FieldCodeCollection_Add_System_String_" data-uid="GrapeCity.Documents.Word.FieldCodeCollection.Add(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCodeCollection.Add.html#GrapeCity_Documents_Word_FieldCodeCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</a> to this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FieldCodeCollection_Insert_System_String_GrapeCity_Documents_Word_FieldCode_" data-uid="GrapeCity.Documents.Word.FieldCodeCollection.Insert(System.String,GrapeCity.Documents.Word.FieldCode)">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCodeCollection.Insert.html#GrapeCity_Documents_Word_FieldCodeCollection_Insert_System_String_GrapeCity_Documents_Word_FieldCode_">Insert(string, FieldCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</a> into this collection before another field code.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
