# C1.C1Preview.IndexEntryOccurrence.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_IndexEntryOccurrence__ctor_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor*">IndexEntryOccurrence Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_IndexEntryOccurrence__ctor_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor*"></a>
<h4 id="C1_C1Preview_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor(C1.C1Preview.C1LinkTarget)">IndexEntryOccurrence(C1LinkTarget)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.html">IndexEntryOccurrence</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IndexEntryOccurrence(C1LinkTarget target)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(target As C1LinkTarget)</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="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">target</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> that is assigned to the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Target.html#C1_C1Preview_IndexEntryOccurrence_Target">Target</a> property of the current occurrence.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_IndexEntryOccurrence__ctor_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor*"></a>
<h4 id="C1_C1Preview_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor(C1.C1Preview.C1LinkTarget,System.Boolean,System.Boolean)">IndexEntryOccurrence(C1LinkTarget, bool, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.html">IndexEntryOccurrence</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IndexEntryOccurrence(C1LinkTarget target, bool bold, bool italic)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(target As C1LinkTarget, bold As Boolean, italic 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="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">target</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> that is assigned to the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Target.html#C1_C1Preview_IndexEntryOccurrence_Target">Target</a> property of the current occurrence.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bold</span></td>
      <td><p>The <b>bold</b> flag that is assigned to the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Bold.html#C1_C1Preview_IndexEntryOccurrence_Bold">Bold</a> property of the current occurrence.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">italic</span></td>
      <td><p>The <i>italic</i> flag that is assigned to the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Italic.html#C1_C1Preview_IndexEntryOccurrence_Italic">Italic</a> property of the current occurrence.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
