# FarPoint.Web.Chart.StringCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Chart_StringCollection" data-uid="FarPoint.Web.Chart.StringCollection" class="text-break">StringCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of string values.</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">StringCollection</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Chart.EnhanceStringCollection.html">EnhanceStringCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</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.icollection-1">ICollection</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Chart.html">FarPoint.Web.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Chart.dll</h6>
  <h5 id="FarPoint_Web_Chart_StringCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StringCollection : IList, ICollection, IList&lt;string&gt;, ICollection&lt;string&gt;, IEnumerable&lt;string&gt;, IEnumerable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StringCollection
    Implements IList, ICollection, IList(Of String), ICollection(Of String), IEnumerable(Of String), IEnumerable, ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection__ctor" data-uid="FarPoint.Web.Chart.StringCollection.#ctor">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.-ctor.html#FarPoint_Web_Chart_StringCollection__ctor">StringCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection of string values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection__ctor_FarPoint_Web_Chart_StringCollection_" data-uid="FarPoint.Web.Chart.StringCollection.#ctor(FarPoint.Web.Chart.StringCollection)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.-ctor.html#FarPoint_Web_Chart_StringCollection__ctor_FarPoint_Web_Chart_StringCollection_">StringCollection(StringCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection of string values that is a copy of
the specified collection of string values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="FarPoint_Web_Chart_StringCollection_Count" data-uid="FarPoint.Web.Chart.StringCollection.Count">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Count.html#FarPoint_Web_Chart_StringCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of string values in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_DataField" data-uid="FarPoint.Web.Chart.StringCollection.DataField">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.DataField.html#FarPoint_Web_Chart_StringCollection_DataField">DataField</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the field in the data source that supplies the string values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_DataSource" data-uid="FarPoint.Web.Chart.StringCollection.DataSource">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.DataSource.html#FarPoint_Web_Chart_StringCollection_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data source for the string values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Item_System_Int32_" data-uid="FarPoint.Web.Chart.StringCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Item.html#FarPoint_Web_Chart_StringCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string value at the specified index.</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="FarPoint_Web_Chart_StringCollection_Add_System_String_" data-uid="FarPoint.Web.Chart.StringCollection.Add(System.String)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Add.html#FarPoint_Web_Chart_StringCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a string value to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_AddRange_System_String___" data-uid="FarPoint.Web.Chart.StringCollection.AddRange(System.String[])">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.AddRange.html#FarPoint_Web_Chart_StringCollection_AddRange_System_String___">AddRange(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of string values to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Clear" data-uid="FarPoint.Web.Chart.StringCollection.Clear">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Clear.html#FarPoint_Web_Chart_StringCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all string values from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Clone" data-uid="FarPoint.Web.Chart.StringCollection.Clone">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Clone.html#FarPoint_Web_Chart_StringCollection_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection that is a copy of this collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Contains_System_String_" data-uid="FarPoint.Web.Chart.StringCollection.Contains(System.String)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Contains.html#FarPoint_Web_Chart_StringCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific string value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_CopyTo_System_String___System_Int32_" data-uid="FarPoint.Web.Chart.StringCollection.CopyTo(System.String[],System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.CopyTo.html#FarPoint_Web_Chart_StringCollection_CopyTo_System_String___System_Int32_">CopyTo(string[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the string values in the collection to an array,
starting at the specified array index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_GetEnumerator" data-uid="FarPoint.Web.Chart.StringCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.GetEnumerator.html#FarPoint_Web_Chart_StringCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator that iterates through the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_IndexOf_System_String_" data-uid="FarPoint.Web.Chart.StringCollection.IndexOf(System.String)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.IndexOf.html#FarPoint_Web_Chart_StringCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of the string value in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Insert_System_Int32_System_String_" data-uid="FarPoint.Web.Chart.StringCollection.Insert(System.Int32,System.String)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Insert.html#FarPoint_Web_Chart_StringCollection_Insert_System_Int32_System_String_">Insert(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a string value into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_InsertRange_System_Int32_System_String___" data-uid="FarPoint.Web.Chart.StringCollection.InsertRange(System.Int32,System.String[])">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.InsertRange.html#FarPoint_Web_Chart_StringCollection_InsertRange_System_Int32_System_String___">InsertRange(int, string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an array of string values into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_OnChanged_System_EventArgs_" data-uid="FarPoint.Web.Chart.StringCollection.OnChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.OnChanged.html#FarPoint_Web_Chart_StringCollection_OnChanged_System_EventArgs_">OnChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Remove_System_String_" data-uid="FarPoint.Web.Chart.StringCollection.Remove(System.String)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Remove.html#FarPoint_Web_Chart_StringCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a string value from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Web.Chart.StringCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.RemoveAt.html#FarPoint_Web_Chart_StringCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a string value from the collection at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Chart_StringCollection_Changed" data-uid="FarPoint.Web.Chart.StringCollection.Changed">
          <a class="xref" href="FarPoint.Web.Chart.StringCollection.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the collection is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
