# GrapeCity.Documents.Word.FieldCode

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_FieldCode" data-uid="GrapeCity.Documents.Word.FieldCode" class="text-break">FieldCode Class
</h1>
  <div class="markdown level0 summary"><p>Represents a field code within a complex field in a document.</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.ContentObject.html">ContentObject</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a></div>
    <div class="level3"><span class="xref">FieldCode</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</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_FieldCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FieldCode : Text, IBrowsable&lt;Text&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FieldCode
    Inherits Text
    Implements IBrowsable(Of Text)</code></pre>
  </div>
  <h3 id="properties">Properties
</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_FieldCode_Field" data-uid="GrapeCity.Documents.Word.FieldCode.Field">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCode.Field.html#GrapeCity_Documents_Word_FieldCode_Field">Field</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner <a class="xref" href="GrapeCity.Documents.Word.ComplexField.html">ComplexField</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FieldCode_Value" data-uid="GrapeCity.Documents.Word.FieldCode.Value">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCode.Value.html#GrapeCity_Documents_Word_FieldCode_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text content value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_FieldCode_Delete" data-uid="GrapeCity.Documents.Word.FieldCode.Delete">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCode.Delete.html#GrapeCity_Documents_Word_FieldCode_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes the content from the parent <a class="xref" href="GrapeCity.Documents.Word.Body.html">Body</a>.
If it's the only instruction in the parent complex field then the whole field will be deleted.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FieldCode_Split_System_Int32_" data-uid="GrapeCity.Documents.Word.FieldCode.Split(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.FieldCode.Split.html#GrapeCity_Documents_Word_FieldCode_Split_System_Int32_">Split(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden. Throws an exception because splitting of a complex field code is not supported.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
