# GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilderExtensions.BuildXmlSerializer

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Xml_SerializerBuilderExtensions_BuildXmlSerializer_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilderExtensions.BuildXmlSerializer*">BuildXmlSerializer Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Xml_SerializerBuilderExtensions_BuildXmlSerializer_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilderExtensions.BuildXmlSerializer*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Xml_SerializerBuilderExtensions_BuildXmlSerializer__1_GrapeCity_ActiveReports_Core_Rdl_Persistence_Xml_SerializerBuilder_TypeBuilder___0__" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilderExtensions.BuildXmlSerializer``1(GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilder.TypeBuilder{``0})">BuildXmlSerializer&lt;T&gt;(TypeBuilder&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Builds an XML serializer for the specified type using the provided <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilder.TypeBuilder-1.html">SerializerBuilder.TypeBuilder&lt;TObject&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IXmlItemSerializer BuildXmlSerializer&lt;T&gt;(this SerializerBuilder.TypeBuilder&lt;T&gt; builder) where T : new()</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="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilder.html">SerializerBuilder</a>.<a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilder.TypeBuilder-1.html">TypeBuilder</a>&lt;T&gt;</td>
      <td><span class="parametername">builder</span></td>
      <td><p>The <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Xml.SerializerBuilder.TypeBuilder-1.html">SerializerBuilder.TypeBuilder&lt;TObject&gt;</a> to use for building the XML serializer.</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><a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Extensibility.IXmlItemSerializer.html">IXmlItemSerializer</a></td>
      <td><p>A new instance of <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Extensibility.IXmlItemSerializer.html">IXmlItemSerializer</a> for the specified type.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td><p>The type to build the XML serializer for. Must have a parameterless constructor.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
