# FarPoint.Web.Spread.Renderer.IEnhancedFormatter.Format

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_Renderer_IEnhancedFormatter_Format_" data-uid="FarPoint.Web.Spread.Renderer.IEnhancedFormatter.Format*">Format Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_Renderer_IEnhancedFormatter_Format_" data-uid="FarPoint.Web.Spread.Renderer.IEnhancedFormatter.Format*"></a>
<h4 id="FarPoint_Web_Spread_Renderer_IEnhancedFormatter_Format_System_Object_System_String_System_IFormatProvider_" data-uid="FarPoint.Web.Spread.Renderer.IEnhancedFormatter.Format(System.Object,System.String,System.IFormatProvider)">Format(object, string, IFormatProvider)</h4>
<div class="markdown level1 summary"><p>Formats the object as a string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Format(object o, string formatString, IFormatProvider provider)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Format(o As Object, formatString As String, provider As IFormatProvider) As String</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">o</span></td>
      <td><p>Object to format</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formatString</span></td>
      <td><p>Format string built by the parser</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformatprovider">IFormatProvider</a></td>
      <td><span class="parametername">provider</span></td>
      <td><p>IFormatProvider built by parser</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.string">string</a></td>
      <td><p>String representation</p>
</td>
    </tr>
  </tbody>
</table>
</div>
