# C1.Win.C1Input.PreValidation.MatchExactList

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_PreValidation_MatchExactList_" data-uid="C1.Win.C1Input.PreValidation.MatchExactList*">MatchExactList Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_PreValidation_MatchExactList_" data-uid="C1.Win.C1Input.PreValidation.MatchExactList*"></a>
<h4 id="C1_Win_C1Input_PreValidation_MatchExactList_System_String_C1_Win_C1Input_ErrorInfo_" data-uid="C1.Win.C1Input.PreValidation.MatchExactList(System.String,C1.Win.C1Input.ErrorInfo)">MatchExactList(string, ErrorInfo)</h4>
<div class="markdown level1 summary"><p>Returns True if the input text matches one of the exact list items specified in PatternString.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool MatchExactList(string text, ErrorInfo errorInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function MatchExactList(text As String, errorInfo As ErrorInfo) 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">text</span></td>
      <td><p>The input string to match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.C1Input.ErrorInfo.html">ErrorInfo</a></td>
      <td><span class="parametername">errorInfo</span></td>
      <td><p>Error information filled in case of failure.</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></td>
    </tr>
  </tbody>
</table>
</div>
