# GrapeCity.Documents.Excel.AsyncCustomFunction.Evaluate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_AsyncCustomFunction_Evaluate_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.Evaluate*">Evaluate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_AsyncCustomFunction_Evaluate_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.Evaluate*"></a>
<h4 id="GrapeCity_Documents_Excel_AsyncCustomFunction_Evaluate_System_Object___GrapeCity_Documents_Excel_ICalcContext_" data-uid="GrapeCity.Documents.Excel.AsyncCustomFunction.Evaluate(System.Object[],GrapeCity.Documents.Excel.ICalcContext)">Evaluate(object[], ICalcContext)</h4>
<div class="markdown level1 summary"><p>Calculate the function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override sealed object Evaluate(object[] arguments, ICalcContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public NotOverridable Overrides Function Evaluate(arguments As Object(), context As ICalcContext) As Object</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]</td>
      <td><span class="parametername">arguments</span></td>
      <td><p>the value collection of the arguments</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.ICalcContext.html">ICalcContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>the context of the calculation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>the result of the function.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Documents.Excel.CustomFunction.Evaluate.html#GrapeCity_Documents_Excel_CustomFunction_Evaluate_System_Object___GrapeCity_Documents_Excel_ICalcContext_">CustomFunction.Evaluate(object[], ICalcContext)</a></div>
</div>
