# GrapeCity.ActiveReports.Core.Rdl.Extensibility.XmlSerializersFactory.Register

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Rdl_Extensibility_XmlSerializersFactory_Register_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Extensibility.XmlSerializersFactory.Register*">Register Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rdl_Extensibility_XmlSerializersFactory_Register_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Extensibility.XmlSerializersFactory.Register*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rdl_Extensibility_XmlSerializersFactory_Register_System_Func_GrapeCity_ActiveReports_Core_Rdl_Extensibility_IXmlItemSerializer__" data-uid="GrapeCity.ActiveReports.Core.Rdl.Extensibility.XmlSerializersFactory.Register(System.Func{GrapeCity.ActiveReports.Core.Rdl.Extensibility.IXmlItemSerializer})">Register(Func&lt;IXmlItemSerializer&gt;)</h4>
<div class="markdown level1 summary"><p>Registers a XML serializer for a specific type of report item.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void Register(Func&lt;IXmlItemSerializer&gt; getXmlSerializer)</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.func-1">Func</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Extensibility.IXmlItemSerializer.html">IXmlItemSerializer</a>&gt;</td>
      <td><span class="parametername">getXmlSerializer</span></td>
      <td><p>The function to get an <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Extensibility.IXmlItemSerializer.html">IXmlItemSerializer</a> object used for serialization and deserialization.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Core_Rdl_Extensibility_XmlSerializersFactory_Register_System_Func_GrapeCity_ActiveReports_Core_Rdl_Extensibility_IXmlItemSerializer___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method allows the registration of custom XML serializer for specific report item types.
The serializers will be used to handle the serialization and deserialization of those types.</p>
</div>
</div>
