# GrapeCity.ActiveReports.ResourceInfo.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_ResourceInfo__ctor_" data-uid="GrapeCity.ActiveReports.ResourceInfo.#ctor*">ResourceInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_ResourceInfo__ctor_" data-uid="GrapeCity.ActiveReports.ResourceInfo.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_ResourceInfo__ctor_System_String_GrapeCity_ActiveReports_ResourceType_" data-uid="GrapeCity.ActiveReports.ResourceInfo.#ctor(System.String,GrapeCity.ActiveReports.ResourceType)">ResourceInfo(string, ResourceType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ResourceInfo.html">ResourceInfo</a> struct with the specified name and type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ResourceInfo(string name, ResourceType type)</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">name</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name of the resource.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.ResourceType.html">ResourceType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.ResourceType.html">ResourceType</a> value indicating the type of the resource.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_ResourceInfo__ctor_" data-uid="GrapeCity.ActiveReports.ResourceInfo.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_ResourceInfo__ctor_System_String_" data-uid="GrapeCity.ActiveReports.ResourceInfo.#ctor(System.String)">ResourceInfo(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ResourceInfo.html">ResourceInfo</a> struct with the specified name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Obsolete(&quot;This constructor is obsolete.&quot;, true)]
public ResourceInfo(string name)</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">name</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name of the resource.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_ResourceInfo__ctor_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This constructor is obsolete.</p>
</div>
</div>
