# C1.Framework.Text.Lexicons.LexiconItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Text_Lexicons_LexiconItem__ctor_" data-uid="C1.Framework.Text.Lexicons.LexiconItem.#ctor*">LexiconItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Text_Lexicons_LexiconItem__ctor_" data-uid="C1.Framework.Text.Lexicons.LexiconItem.#ctor*"></a>
<h4 id="C1_Framework_Text_Lexicons_LexiconItem__ctor_System_Object_C1_Framework_Text_Lexicons_IPattern_" data-uid="C1.Framework.Text.Lexicons.LexiconItem.#ctor(System.Object,C1.Framework.Text.Lexicons.IPattern)">LexiconItem(object, IPattern)</h4>
<div class="markdown level1 summary"><p>Constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LexiconItem(object id, IPattern pattern)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(id As Object, pattern As IPattern)</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">id</span></td>
      <td><p>The id.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Text.Lexicons.IPattern.html">IPattern</a></td>
      <td><span class="parametername">pattern</span></td>
      <td><p>The pattern.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Text_Lexicons_LexiconItem__ctor_" data-uid="C1.Framework.Text.Lexicons.LexiconItem.#ctor*"></a>
<h4 id="C1_Framework_Text_Lexicons_LexiconItem__ctor_System_Object_C1_Framework_Text_Lexicons_IPattern_C1_Framework_Text_Lexicons_MatchingSwitches_" data-uid="C1.Framework.Text.Lexicons.LexiconItem.#ctor(System.Object,C1.Framework.Text.Lexicons.IPattern,C1.Framework.Text.Lexicons.MatchingSwitches)">LexiconItem(object, IPattern, MatchingSwitches)</h4>
<div class="markdown level1 summary"><p>Constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LexiconItem(object id, IPattern pattern, MatchingSwitches switches)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(id As Object, pattern As IPattern, switches As MatchingSwitches)</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">id</span></td>
      <td><p>The id.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Text.Lexicons.IPattern.html">IPattern</a></td>
      <td><span class="parametername">pattern</span></td>
      <td><p>The pattern.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Text.Lexicons.MatchingSwitches.html">MatchingSwitches</a></td>
      <td><span class="parametername">switches</span></td>
      <td><p>The switches.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
