# FarPoint.Win.SuperEdit.GeneralFormatter.MatchStringToMonthName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEdit_GeneralFormatter_MatchStringToMonthName_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.MatchStringToMonthName*">MatchStringToMonthName Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEdit_GeneralFormatter_MatchStringToMonthName_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.MatchStringToMonthName*"></a>
<h4 id="FarPoint_Win_SuperEdit_GeneralFormatter_MatchStringToMonthName_System_String_System_Int32__System_Int32__System_Boolean__" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.MatchStringToMonthName(System.String,System.Int32@,System.Int32@,System.Boolean@)">MatchStringToMonthName(string, out int, out int, out bool)</h4>
<div class="markdown level1 summary"><p>Determines if the passed string begins with one of the month names.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual bool MatchStringToMonthName(string szText, out int iRetMonth, out int iRetMonthNameLen, out bool longName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function MatchStringToMonthName(szText As String, ByRef iRetMonth As Integer, ByRef iRetMonthNameLen As Integer, ByRef longName As Boolean) As Boolean</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">szText</span></td>
      <td><p>Text size</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">iRetMonth</span></td>
      <td><p>Return month name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">iRetMonthNameLen</span></td>
      <td><p>Length of return month name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">longName</span></td>
      <td><p>Whether month name is long name</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.boolean">bool</a></td>
      <td><p>true if is matched;otherwise false</p>
</td>
    </tr>
  </tbody>
</table>
</div>
