# FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString*">FromFormattedString Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString*"></a>
<h4 id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_System_String_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString(System.String)">FromFormattedString(string)</h4>
<div class="markdown level1 summary"><p>Parses and returns the &quot;value&quot; from a formatted string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual object FromFormattedString(string value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function FromFormattedString(value As String) As Object</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.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The source string need to parses.</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.object">object</a></td>
      <td><p>Parsed value</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.SuperEdit.ISEditFormatter.FromFormattedString.html#FarPoint_Win_SuperEdit_ISEditFormatter_FromFormattedString_System_String_">ISEditFormatter.FromFormattedString(string)</a></div>


<a id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString*"></a>
<h4 id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_System_String_System_Boolean_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString(System.String,System.Boolean)">FromFormattedString(string, bool)</h4>
<div class="markdown level1 summary"><p>Parses and returns the &quot;value&quot; from a formatted string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public object FromFormattedString(string value, bool checkCorrectFormatDateTime)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Function FromFormattedString(value As String, checkCorrectFormatDateTime As Boolean) As Object</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.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The source string need to parses.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">checkCorrectFormatDateTime</span></td>
      <td><p>The flag to check format with date/time.</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.object">object</a></td>
      <td><p>Parsed value</p>
</td>
    </tr>
  </tbody>
</table>
</div>
