# C1.Win.Themes.C1Theme.GetC1Icon

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Themes_C1Theme_GetC1Icon_" data-uid="C1.Win.Themes.C1Theme.GetC1Icon*">GetC1Icon Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Themes_C1Theme_GetC1Icon_" data-uid="C1.Win.Themes.C1Theme.GetC1Icon*"></a>
<h4 id="C1_Win_Themes_C1Theme_GetC1Icon_System_String_" data-uid="C1.Win.Themes.C1Theme.GetC1Icon(System.String)">GetC1Icon(string)</h4>
<div class="markdown level1 summary"><p>Gets an C1Icon specified by a path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Icon GetC1Icon(string path)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetC1Icon(path As String) As C1Icon</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">path</span></td>
      <td><p>The target path.</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><span class="xref">C1Icon</span></td>
      <td><p>The C1Icon specified by <code class="paramref">path</code> or <see paramref="defaultValue"></see> if C1Icon at specified path does not exist.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Themes_C1Theme_GetC1Icon_" data-uid="C1.Win.Themes.C1Theme.GetC1Icon*"></a>
<h4 id="C1_Win_Themes_C1Theme_GetC1Icon_System_String_C1_Framework_C1Icon_" data-uid="C1.Win.Themes.C1Theme.GetC1Icon(System.String,C1.Framework.C1Icon)">GetC1Icon(string, C1Icon)</h4>
<div class="markdown level1 summary"><p>Gets an C1Icon specified by a path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Icon GetC1Icon(string path, C1Icon defaultValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetC1Icon(path As String, defaultValue As C1Icon) As C1Icon</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">path</span></td>
      <td><p>The target path.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">C1Icon</span></td>
      <td><span class="parametername">defaultValue</span></td>
      <td><p>Used if value at specified path does not exist.</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><span class="xref">C1Icon</span></td>
      <td><p>The C1Icon specified by <code class="paramref">path</code> or <see paramref="defaultValue"></see> if C1Icon at specified path does not exist.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
