# GrapeCity.CalcEngine.IValue.SetValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_IValue_SetValue_" data-uid="GrapeCity.CalcEngine.IValue.SetValue*">SetValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_IValue_SetValue_" data-uid="GrapeCity.CalcEngine.IValue.SetValue*"></a>
<h4 id="GrapeCity_CalcEngine_IValue_SetValue_GrapeCity_CalcEngine_IValuesArray_" data-uid="GrapeCity.CalcEngine.IValue.SetValue(GrapeCity.CalcEngine.IValuesArray)">SetValue(IValuesArray)</h4>
<div class="markdown level1 summary"><p>Sets the value of this <a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a> to the specified <a class="xref" href="GrapeCity.CalcEngine.IValuesArray.html">IValuesArray</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void SetValue(IValuesArray valuesArray)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub SetValue(valuesArray As IValuesArray)</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="GrapeCity.CalcEngine.IValuesArray.html">IValuesArray</a></td>
      <td><span class="parametername">valuesArray</span></td>
      <td><p>An <a class="xref" href="GrapeCity.CalcEngine.IValuesArray.html">IValuesArray</a> value represents the new value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
