# GrapeCity.CalcEngine.RichValue-1.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_RichValue_1__ctor_" data-uid="GrapeCity.CalcEngine.RichValue`1.#ctor*">RichValue Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_RichValue_1__ctor_" data-uid="GrapeCity.CalcEngine.RichValue`1.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_RichValue_1__ctor__0_System_Object_" data-uid="GrapeCity.CalcEngine.RichValue`1.#ctor(`0,System.Object)">RichValue(T, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the RichValue class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RichValue(T obj, object tag = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(obj As T, Optional tag As Object = Nothing)</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><span class="xref">T</span></td>
      <td><span class="parametername">obj</span></td>
      <td><p>The actual object value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">tag</span></td>
      <td><p>The object that contains data about this <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue&lt;T&gt;</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
