# GrapeCity.CalcEngine.RichValue-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_CalcEngine_RichValue_1" data-uid="GrapeCity.CalcEngine.RichValue`1" class="text-break">RichValue&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a rich cell value of an .NET object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">RichValue&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IRichValue.html">IRichValue</a></div>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IReadonlyPrimitiveValue.html">IReadonlyPrimitiveValue</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.IMedia.html">IMedia</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue</a>&lt;T&gt;&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.reflection.icustomattributeprovider">ICustomAttributeProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.CalcEngine.html">GrapeCity.CalcEngine</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_CalcEngine_RichValue_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class RichValue&lt;T&gt; : IRichValue, IReadonlyPrimitiveValue, ISerializable, IMedia, IComparable, IComparable&lt;RichValue&lt;T&gt;&gt;, ICustomAttributeProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class RichValue(Of T)
    Implements IRichValue, IReadonlyPrimitiveValue, ISerializable, IMedia, IComparable, IComparable(Of RichValue(Of T)), ICustomAttributeProvider</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1__ctor__0_System_Object_" data-uid="GrapeCity.CalcEngine.RichValue`1.#ctor(`0,System.Object)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.-ctor.html#GrapeCity_CalcEngine_RichValue_1__ctor__0_System_Object_">RichValue(T, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the RichValue class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_FieldCount" data-uid="GrapeCity.CalcEngine.RichValue`1.FieldCount">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.FieldCount.html#GrapeCity_CalcEngine_RichValue_1_FieldCount">FieldCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the total numbers of fields.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_ShowDetailsIcon" data-uid="GrapeCity.CalcEngine.RichValue`1.ShowDetailsIcon">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.ShowDetailsIcon.html#GrapeCity_CalcEngine_RichValue_1_ShowDetailsIcon">ShowDetailsIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a boolean indicating whether to show the icon for <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue&lt;T&gt;</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_Tag" data-uid="GrapeCity.CalcEngine.RichValue`1.Tag">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.Tag.html#GrapeCity_CalcEngine_RichValue_1_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object that contains data about <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue&lt;T&gt;</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_CalcEngine_RichValue_1_CompareTo_GrapeCity_CalcEngine_RichValue__0__" data-uid="GrapeCity.CalcEngine.RichValue`1.CompareTo(GrapeCity.CalcEngine.RichValue{`0})">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.CompareTo.html#GrapeCity_CalcEngine_RichValue_1_CompareTo_GrapeCity_CalcEngine_RichValue__0__">CompareTo(RichValue&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the current instance with other <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue&lt;T&gt;</a> object and returns an integer that indicates whether the current instance precedes, follows,
or occurs in the same position in the sort order as the other <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.html">RichValue&lt;T&gt;</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_GetFieldName_System_Int32_" data-uid="GrapeCity.CalcEngine.RichValue`1.GetFieldName(System.Int32)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.GetFieldName.html#GrapeCity_CalcEngine_RichValue_1_GetFieldName_System_Int32_">GetFieldName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the name of field.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_IsSameField_GrapeCity_CalcEngine_IRichValue_" data-uid="GrapeCity.CalcEngine.RichValue`1.IsSameField(GrapeCity.CalcEngine.IRichValue)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.IsSameField.html#GrapeCity_CalcEngine_RichValue_1_IsSameField_GrapeCity_CalcEngine_IRichValue_">IsSameField(IRichValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether this object has same fields as the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_ToString" data-uid="GrapeCity.CalcEngine.RichValue`1.ToString">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.ToString.html#GrapeCity_CalcEngine_RichValue_1_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_Int32_GrapeCity_CalcEngine_CellValue__" data-uid="GrapeCity.CalcEngine.RichValue`1.TryGetFieldValue(System.Int32,GrapeCity.CalcEngine.CellValue@)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.TryGetFieldValue.html#GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_Int32_GrapeCity_CalcEngine_CellValue__">TryGetFieldValue(int, ref CellValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified field value from this <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IRichValue.html">IRichValue</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_Int32_GrapeCity_CalcEngine_IPrimitiveValue_" data-uid="GrapeCity.CalcEngine.RichValue`1.TryGetFieldValue(System.Int32,GrapeCity.CalcEngine.IPrimitiveValue)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.TryGetFieldValue.html#GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_Int32_GrapeCity_CalcEngine_IPrimitiveValue_">TryGetFieldValue(int, IPrimitiveValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified field value from this <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IRichValue.html">IRichValue</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_String_System_Object__" data-uid="GrapeCity.CalcEngine.RichValue`1.TryGetFieldValue(System.String,System.Object@)">
          <a class="xref" href="GrapeCity.CalcEngine.RichValue-1.TryGetFieldValue.html#GrapeCity_CalcEngine_RichValue_1_TryGetFieldValue_System_String_System_Object__">TryGetFieldValue(string, out object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified field value from this <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IRichValue.html">IRichValue</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
