# C1.C1Preview.OutlineNode.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*">OutlineNode Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*"></a>
<h4 id="C1_C1Preview_OutlineNode__ctor" data-uid="C1.C1Preview.OutlineNode.#ctor">OutlineNode()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OutlineNode.html">OutlineNode</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 OutlineNode()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*"></a>
<h4 id="C1_C1Preview_OutlineNode__ctor_System_String_" data-uid="C1.C1Preview.OutlineNode.#ctor(System.String)">OutlineNode(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OutlineNode.html">OutlineNode</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 OutlineNode(string caption)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(caption As String)</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">caption</span></td>
      <td><p>The node caption.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*"></a>
<h4 id="C1_C1Preview_OutlineNode__ctor_System_String_C1_C1Preview_IDocumentLocation_" data-uid="C1.C1Preview.OutlineNode.#ctor(System.String,C1.C1Preview.IDocumentLocation)">OutlineNode(string, IDocumentLocation)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OutlineNode.html">OutlineNode</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 OutlineNode(string caption, IDocumentLocation location)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(caption As String, location As IDocumentLocation)</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">caption</span></td>
      <td><p>The node caption.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location within a document associated with the current node.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*"></a>
<h4 id="C1_C1Preview_OutlineNode__ctor_System_String_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.OutlineNode.#ctor(System.String,C1.C1Preview.C1LinkTarget)">OutlineNode(string, C1LinkTarget)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OutlineNode.html">OutlineNode</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 OutlineNode(string caption, C1LinkTarget linkTarget)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(caption As String, linkTarget 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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">caption</span></td>
      <td><p>The node caption.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">linkTarget</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> associated with this node.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_OutlineNode__ctor_" data-uid="C1.C1Preview.OutlineNode.#ctor*"></a>
<h4 id="C1_C1Preview_OutlineNode__ctor_System_String_C1_C1Preview_IDocumentLocation_System_Drawing_Icon_" data-uid="C1.C1Preview.OutlineNode.#ctor(System.String,C1.C1Preview.IDocumentLocation,System.Drawing.Icon)">OutlineNode(string, IDocumentLocation, Icon)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.OutlineNode.html">OutlineNode</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 OutlineNode(string caption, IDocumentLocation location, Icon icon)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(caption As String, location As IDocumentLocation, icon As Icon)</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">caption</span></td>
      <td><p>The node caption.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location within a document associated with the current node.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.icon">Icon</a></td>
      <td><span class="parametername">icon</span></td>
      <td><p>The icon associated with the current node.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
