# C1.Win.C1Input.FormatInfo.Format

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_FormatInfo_Format_" data-uid="C1.Win.C1Input.FormatInfo.Format*">Format Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_FormatInfo_Format_" data-uid="C1.Win.C1Input.FormatInfo.Format*"></a>
<h4 id="C1_Win_C1Input_FormatInfo_Format_System_Object_" data-uid="C1.Win.C1Input.FormatInfo.Format(System.Object)">Format(object)</h4>
<div class="markdown level1 summary"><p>Formats a value, converts it to a string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Format(object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Format(value As Object) 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">value</span></td>
      <td><p>Typed value to convert to a string</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></td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1Input_FormatInfo_Format_" data-uid="C1.Win.C1Input.FormatInfo.Format*"></a>
<h4 id="C1_Win_C1Input_FormatInfo_Format_System_Object_C1_Win_C1Input_FormatTypeEnum_System_Globalization_CultureInfo_" data-uid="C1.Win.C1Input.FormatInfo.Format(System.Object,C1.Win.C1Input.FormatTypeEnum,System.Globalization.CultureInfo)">Format(object, FormatTypeEnum, CultureInfo)</h4>
<div class="markdown level1 summary"><p>Formats a value, converts it to a string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Format(object value, FormatTypeEnum formatType, CultureInfo culture)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Format(value As Object, formatType As FormatTypeEnum, culture As CultureInfo) 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">value</span></td>
      <td><p>Typed value to convert to a string.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.C1Input.FormatTypeEnum.html">FormatTypeEnum</a></td>
      <td><span class="parametername">formatType</span></td>
      <td><p>Format method or specifier used for conversion.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a></td>
      <td><span class="parametername">culture</span></td>
      <td><p>Culture used for conversion.</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></td>
    </tr>
  </tbody>
</table>
</div>
