# GrapeCity.Core.IDocumentProperties

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Core_IDocumentProperties" data-uid="GrapeCity.Core.IDocumentProperties" class="text-break">IDocumentProperties Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Core.DocumentProperty.html">DocumentProperty</a> objects.
Each <a class="xref" href="GrapeCity.Core.DocumentProperty.html">DocumentProperty</a> object represents a built-in or custom property of a container document.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Core.html">GrapeCity.Core</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Core_IDocumentProperties_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDocumentProperties</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IDocumentProperties</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_Core_IDocumentProperties_Count" data-uid="GrapeCity.Core.IDocumentProperties.Count">
          <a class="xref" href="GrapeCity.Core.IDocumentProperties.Count.html#GrapeCity_Core_IDocumentProperties_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an integer value indicating the number of items in the <a class="xref" href="GrapeCity.Core.IDocumentProperties.html">IDocumentProperties</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_IDocumentProperties_Item_GrapeCity_Core_BuiltinDocumentProperties_" data-uid="GrapeCity.Core.IDocumentProperties.Item(GrapeCity.Core.BuiltinDocumentProperties)">
          <a class="xref" href="GrapeCity.Core.IDocumentProperties.Item.html#GrapeCity_Core_IDocumentProperties_Item_GrapeCity_Core_BuiltinDocumentProperties_">this[BuiltinDocumentProperties]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Core.DocumentProperty.html">DocumentProperty</a> object from the <a class="xref" href="GrapeCity.Core.IDocumentProperties.html">IDocumentProperties</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_IDocumentProperties_Item_System_Int32_" data-uid="GrapeCity.Core.IDocumentProperties.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Core.IDocumentProperties.Item.html#GrapeCity_Core_IDocumentProperties_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Core.DocumentProperty.html">DocumentProperty</a> object from the <a class="xref" href="GrapeCity.Core.IDocumentProperties.html">IDocumentProperties</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_IDocumentProperties_Item_System_String_" data-uid="GrapeCity.Core.IDocumentProperties.Item(System.String)">
          <a class="xref" href="GrapeCity.Core.IDocumentProperties.Item.html#GrapeCity_Core_IDocumentProperties_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Core.DocumentProperty.html">DocumentProperty</a> object from the <a class="xref" href="GrapeCity.Core.IDocumentProperties.html">IDocumentProperties</a> collection.</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_Core_IDocumentProperties_Add_System_String_GrapeCity_Core_DocumentPropertyType_System_Object_" data-uid="GrapeCity.Core.IDocumentProperties.Add(System.String,GrapeCity.Core.DocumentPropertyType,System.Object)">
          <a class="xref" href="GrapeCity.Core.IDocumentProperties.Add.html#GrapeCity_Core_IDocumentProperties_Add_System_String_GrapeCity_Core_DocumentPropertyType_System_Object_">Add(string, DocumentPropertyType, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new custom document property. You can add a new document property only to the custom <a class="xref" href="GrapeCity.Core.IDocumentProperties.html">IDocumentProperties</a> collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
