# FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport" class="text-break">IEnhancedCustomNameSupport Interface
</h1>
  <div class="markdown level0 summary"><p>Interface that supports enhanced methods for user-defined names in formulas
in the data model.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.Model.html">FarPoint.Win.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IEnhancedCustomNameSupport : ICustomNameSupport, ICustomNameSupport2</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IEnhancedCustomNameSupport
    Inherits ICustomNameSupport, ICustomNameSupport2</code></pre>
  </div>
  <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_Win_Spread_Model_IEnhancedCustomNameSupport_AddCustomName_System_String_FarPoint_CalcEngine_Expression_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddCustomName(System.String,FarPoint.CalcEngine.Expression,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddCustomName_System_String_FarPoint_CalcEngine_Expression_System_String_">AddCustomName(string, Expression, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined name for the specified value, as an expression, to the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddCustomName_System_String_System_String_System_Int32_System_Int32_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddCustomName(System.String,System.String,System.Int32,System.Int32,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddCustomName_System_String_System_String_System_Int32_System_Int32_System_String_">AddCustomName(string, string, int, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined name for the specified value, as a string, to the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddModelScopeCustomName_System_String_FarPoint_CalcEngine_Expression_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddModelScopeCustomName(System.String,FarPoint.CalcEngine.Expression,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddModelScopeCustomName_System_String_FarPoint_CalcEngine_Expression_System_String_">AddModelScopeCustomName(string, Expression, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined name for the specified value, as an expression, to the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddModelScopeCustomName_System_String_System_String_System_Int32_System_Int32_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddModelScopeCustomName(System.String,System.String,System.Int32,System.Int32,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_AddModelScopeCustomName_System_String_System_String_System_Int32_System_Int32_System_String_">AddModelScopeCustomName(string, string, int, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined name for the specified value, as string, to the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ClearModelScopeCustomName" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ClearModelScopeCustomName">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ClearModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ClearModelScopeCustomName">ClearModelScopeCustomName()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the model scope custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetCustomNameComment_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetCustomNameComment(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetCustomNameComment.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetCustomNameComment_System_String_">GetCustomNameComment(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the comment of the custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomName_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomName(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomName_System_String_">GetModelScopeCustomName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the user-defined name, as an expression, in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomName_System_String_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomName(System.String,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomName_System_String_System_Int32_System_Int32_">GetModelScopeCustomName(string, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a named expression from the model with the specified base index for relative cell references.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomNameComment_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomNameComment(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeCustomNameComment.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeCustomNameComment_System_String_">GetModelScopeCustomNameComment(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the comment of the custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeNameEnumerator" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeNameEnumerator">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.GetModelScopeNameEnumerator.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_GetModelScopeNameEnumerator">GetModelScopeNameEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an IEnumerator that enumerates through the custom names defined in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ModifyCustomName_System_String_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ModifyCustomName(System.String,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ModifyCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ModifyCustomName_System_String_System_String_">ModifyCustomName(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the name of the custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ModifyModelScopeCustomName_System_String_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ModifyModelScopeCustomName(System.String,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ModifyModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ModifyModelScopeCustomName_System_String_System_String_">ModifyModelScopeCustomName(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the name of the custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_RemoveModelScopeCustomName_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.RemoveModelScopeCustomName(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.RemoveModelScopeCustomName.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_RemoveModelScopeCustomName_System_String_">RemoveModelScopeCustomName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a user-defined name from the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_SetCustomNameComment_System_String_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.SetCustomNameComment(System.String,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.SetCustomNameComment.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_SetCustomNameComment_System_String_System_String_">SetCustomNameComment(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the comment for a custom name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_SetModelScopeCustomNameComment_System_String_System_String_" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.SetModelScopeCustomNameComment(System.String,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.SetModelScopeCustomNameComment.html#FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_SetModelScopeCustomNameComment_System_String_System_String_">SetModelScopeCustomNameComment(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a custom name comment for the scope.</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_Win_Spread_Model_IEnhancedCustomNameSupport_CustomNameChanged" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.CustomNameChanged">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.CustomNameChanged.html">CustomNameChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the custom name of the data model changes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_IEnhancedCustomNameSupport_ReferenceStyleChanged" data-uid="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ReferenceStyleChanged">
          <a class="xref" href="FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.ReferenceStyleChanged.html">ReferenceStyleChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the reference style of the data model changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
