# C1.Win.GanttView.UsingResourceFilter.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_GanttView_UsingResourceFilter__ctor_" data-uid="C1.Win.GanttView.UsingResourceFilter.#ctor*">UsingResourceFilter Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_GanttView_UsingResourceFilter__ctor_" data-uid="C1.Win.GanttView.UsingResourceFilter.#ctor*"></a>
<h4 id="C1_Win_GanttView_UsingResourceFilter__ctor_C1_Win_GanttView_C1GanttView_System_Int32_" data-uid="C1.Win.GanttView.UsingResourceFilter.#ctor(C1.Win.GanttView.C1GanttView,System.Int32)">UsingResourceFilter(C1GanttView, int)</h4>
<div class="markdown level1 summary"><p>Initializes the new <a class="xref" href="C1.Win.GanttView.UsingResourceFilter.html">UsingResourceFilter</a> object with specific resource.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public UsingResourceFilter(C1GanttView ganttView, int resourceID)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(ganttView As C1GanttView, resourceID As Integer)</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.Win.GanttView.C1GanttView.html">C1GanttView</a></td>
      <td><span class="parametername">ganttView</span></td>
      <td><p>The <a class="xref" href="C1.Win.GanttView.C1GanttView.html">C1GanttView</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">resourceID</span></td>
      <td><p>The resource's ID value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_GanttView_UsingResourceFilter__ctor_" data-uid="C1.Win.GanttView.UsingResourceFilter.#ctor*"></a>
<h4 id="C1_Win_GanttView_UsingResourceFilter__ctor_C1_Win_GanttView_C1GanttView_C1_Win_GanttView_Resource_" data-uid="C1.Win.GanttView.UsingResourceFilter.#ctor(C1.Win.GanttView.C1GanttView,C1.Win.GanttView.Resource)">UsingResourceFilter(C1GanttView, Resource)</h4>
<div class="markdown level1 summary"><p>Initializes the new <a class="xref" href="C1.Win.GanttView.UsingResourceFilter.html">UsingResourceFilter</a> object with specific resource.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public UsingResourceFilter(C1GanttView ganttView, Resource resource)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(ganttView As C1GanttView, resource As Resource)</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.Win.GanttView.C1GanttView.html">C1GanttView</a></td>
      <td><span class="parametername">ganttView</span></td>
      <td><p>The <a class="xref" href="C1.Win.GanttView.C1GanttView.html">C1GanttView</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a></td>
      <td><span class="parametername">resource</span></td>
      <td><p>The <a class="xref" href="C1.Win.GanttView.UsingResourceFilter.Resource.html#C1_Win_GanttView_UsingResourceFilter_Resource">Resource</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
