# GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions

## Content

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



  <h1 id="GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions" data-uid="GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions" class="text-break">NameValueCollectionExtensions Class
</h1>
  <div class="markdown level0 summary"><p>Provides extension methods for updating and applying settings in a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.namevaluecollection">NameValueCollection</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">NameValueCollectionExtensions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.html">GrapeCity.ActiveReports.Rendering.Tools</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class NameValueCollectionExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions_ApplyTo__1_System_Collections_Specialized_NameValueCollection___0_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions.ApplyTo``1(System.Collections.Specialized.NameValueCollection,``0,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions.ApplyTo.html#GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions_ApplyTo__1_System_Collections_Specialized_NameValueCollection___0_System_Boolean_System_Boolean_">ApplyTo&lt;T&gt;(NameValueCollection, T, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies settings from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.namevaluecollection">NameValueCollection</a> to the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions_UpdateSettings_System_Collections_Specialized_NameValueCollection_System_Object_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions.UpdateSettings(System.Collections.Specialized.NameValueCollection,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions.UpdateSettings.html#GrapeCity_ActiveReports_Rendering_Tools_NameValueCollectionExtensions_UpdateSettings_System_Collections_Specialized_NameValueCollection_System_Object_">UpdateSettings(NameValueCollection, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.namevaluecollection">NameValueCollection</a> with data from the object's fields and properties.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
