# GrapeCity.Documents.Excel.IDocumentPropertyCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IDocumentPropertyCollection" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection" class="text-break">IDocumentPropertyCollection Interface
</h1>
  <div class="markdown level0 summary"><p>A collection of document properties.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDocumentPropertyCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IDocumentPropertyCollection</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_Excel_IDocumentPropertyCollection_Count" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Count">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Count.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of document property in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_Item_System_Int32_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Item.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Excel.IDocumentProperty.html">IDocumentProperty</a> with the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_Item_System_String_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Item.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Excel.IDocumentProperty.html">IDocumentProperty</a> with the specified name.</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_Excel_IDocumentPropertyCollection_Clear" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Clear">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Clear.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all properties from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_Contains_System_String_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Contains(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Contains.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the document property with specified name is contained in <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.html">IDocumentPropertyCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_IndexOf_System_String_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.IndexOf(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.IndexOf.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of a property by name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_Remove_System_String_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.Remove.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a property with the specified name from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDocumentPropertyCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.Documents.Excel.IDocumentPropertyCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDocumentPropertyCollection.RemoveAt.html#GrapeCity_Documents_Excel_IDocumentPropertyCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a property at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
