# FarPoint.Web.Spread.Model.ICustomFunctionSupport

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Model_ICustomFunctionSupport" data-uid="FarPoint.Web.Spread.Model.ICustomFunctionSupport" class="text-break">ICustomFunctionSupport Interface
</h1>
  <div class="markdown level0 summary"><p>Interface that supports user-defined functions in formulas
in the data model.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.Model.html">FarPoint.Web.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Model_ICustomFunctionSupport_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ICustomFunctionSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ICustomFunctionSupport</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_Web_Spread_Model_ICustomFunctionSupport_AddCustomFunction_FarPoint_CalcEngine_FunctionInfo_" data-uid="FarPoint.Web.Spread.Model.ICustomFunctionSupport.AddCustomFunction(FarPoint.CalcEngine.FunctionInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ICustomFunctionSupport.AddCustomFunction.html#FarPoint_Web_Spread_Model_ICustomFunctionSupport_AddCustomFunction_FarPoint_CalcEngine_FunctionInfo_">AddCustomFunction(FunctionInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined function to the model for use in formulas.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ICustomFunctionSupport_GetCustomFunction_System_String_" data-uid="FarPoint.Web.Spread.Model.ICustomFunctionSupport.GetCustomFunction(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ICustomFunctionSupport.GetCustomFunction.html#FarPoint_Web_Spread_Model_ICustomFunctionSupport_GetCustomFunction_System_String_">GetCustomFunction(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a user-defined function from the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ICustomFunctionSupport_GetCustomFunctionEnumerator" data-uid="FarPoint.Web.Spread.Model.ICustomFunctionSupport.GetCustomFunctionEnumerator">
          <a class="xref" href="FarPoint.Web.Spread.Model.ICustomFunctionSupport.GetCustomFunctionEnumerator.html#FarPoint_Web_Spread_Model_ICustomFunctionSupport_GetCustomFunctionEnumerator">GetCustomFunctionEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an IEnumerator that enumerates through the names of the user-defined functions in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ICustomFunctionSupport_RemoveCustomFunction_System_String_" data-uid="FarPoint.Web.Spread.Model.ICustomFunctionSupport.RemoveCustomFunction(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ICustomFunctionSupport.RemoveCustomFunction.html#FarPoint_Web_Spread_Model_ICustomFunctionSupport_RemoveCustomFunction_System_String_">RemoveCustomFunction(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a user-defined function from the model.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
