# GrapeCity.Documents.Word.AliasCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_AliasCollection" data-uid="GrapeCity.Documents.Word.AliasCollection" class="text-break">AliasCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of alternative style names.</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"><span class="xref">AliasCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</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="https://learn.microsoft.com/dotnet/api/system.string">string</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_AliasCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class AliasCollection : IReadOnlyCollection&lt;string&gt;, IEnumerable&lt;string&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class AliasCollection
    Implements IReadOnlyCollection(Of String), IEnumerable(Of String), IEnumerable</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_AliasCollection_Count" data-uid="GrapeCity.Documents.Word.AliasCollection.Count">
          <a class="xref" href="GrapeCity.Documents.Word.AliasCollection.Count.html#GrapeCity_Documents_Word_AliasCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of aliases in the 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_Documents_Word_AliasCollection_Add_System_String_" data-uid="GrapeCity.Documents.Word.AliasCollection.Add(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.AliasCollection.Add.html#GrapeCity_Documents_Word_AliasCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new alias to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_AliasCollection_Clear" data-uid="GrapeCity.Documents.Word.AliasCollection.Clear">
          <a class="xref" href="GrapeCity.Documents.Word.AliasCollection.Clear.html#GrapeCity_Documents_Word_AliasCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all aliases from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_AliasCollection_GetEnumerator" data-uid="GrapeCity.Documents.Word.AliasCollection.GetEnumerator">
          <a class="xref" href="GrapeCity.Documents.Word.AliasCollection.GetEnumerator.html#GrapeCity_Documents_Word_AliasCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the enumerator that interates through the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_AliasCollection_Remove_System_String_" data-uid="GrapeCity.Documents.Word.AliasCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.AliasCollection.Remove.html#GrapeCity_Documents_Word_AliasCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an alias from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
