# C1.C1Preview.C1LinkTargetFile.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1LinkTargetFile__ctor_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor*">C1LinkTargetFile Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1LinkTargetFile__ctor_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor*"></a>
<h4 id="C1_C1Preview_C1LinkTargetFile__ctor" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor">C1LinkTargetFile()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1LinkTargetFile.html">C1LinkTargetFile</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 C1LinkTargetFile()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_C1LinkTargetFile__ctor_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor*"></a>
<h4 id="C1_C1Preview_C1LinkTargetFile__ctor_System_String_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor(System.String)">C1LinkTargetFile(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1LinkTargetFile.html">C1LinkTargetFile</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 C1LinkTargetFile(string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(fileName 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">fileName</span></td>
      <td><p>The name of the file to execute on hyperlink jump (can be a document, URL etc.).</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1LinkTargetFile__ctor_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor*"></a>
<h4 id="C1_C1Preview_C1LinkTargetFile__ctor_System_String_System_String_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor(System.String,System.String)">C1LinkTargetFile(string, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1LinkTargetFile.html">C1LinkTargetFile</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 C1LinkTargetFile(string fileName, string command)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(fileName As String, command 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">fileName</span></td>
      <td><p>The name of the file to execute on hyperlink jump (can be a document, URL etc.).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">command</span></td>
      <td><p>The shell command to execute (see <a class="xref" href="C1.C1Preview.C1LinkTargetFile.Command.html#C1_C1Preview_C1LinkTargetFile_Command">Command</a> for details).</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1LinkTargetFile__ctor_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor*"></a>
<h4 id="C1_C1Preview_C1LinkTargetFile__ctor_System_String_System_String_System_String_System_String_" data-uid="C1.C1Preview.C1LinkTargetFile.#ctor(System.String,System.String,System.String,System.String)">C1LinkTargetFile(string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1LinkTargetFile.html">C1LinkTargetFile</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 C1LinkTargetFile(string fileName, string command, string parameters, string directory)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(fileName As String, command As String, parameters As String, directory 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">fileName</span></td>
      <td><p>The name of the file to execute on hyperlink jump (can be a document, URL etc.).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">command</span></td>
      <td><p>The shell command to execute (see <a class="xref" href="C1.C1Preview.C1LinkTargetFile.Command.html#C1_C1Preview_C1LinkTargetFile_Command">Command</a> for details).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">parameters</span></td>
      <td><p>The command parameters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">directory</span></td>
      <td><p>The directory where the command is executed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
