# FarPoint.Web.Spread.Model.Serializer.SerializeNumberFormatInfo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_Model_Serializer_SerializeNumberFormatInfo_" data-uid="FarPoint.Web.Spread.Model.Serializer.SerializeNumberFormatInfo*">SerializeNumberFormatInfo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_Model_Serializer_SerializeNumberFormatInfo_" data-uid="FarPoint.Web.Spread.Model.Serializer.SerializeNumberFormatInfo*"></a>
<h4 id="FarPoint_Web_Spread_Model_Serializer_SerializeNumberFormatInfo_System_Globalization_NumberFormatInfo_System_String_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.Model.Serializer.SerializeNumberFormatInfo(System.Globalization.NumberFormatInfo,System.String,System.Xml.XmlTextWriter)">SerializeNumberFormatInfo(NumberFormatInfo, string, XmlTextWriter)</h4>
<div class="markdown level1 summary"><p>Serializes a NumberFormatInfo object to XML.</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 SerializeNumberFormatInfo(NumberFormatInfo info, string elementName, XmlTextWriter w)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SerializeNumberFormatInfo(info As NumberFormatInfo, elementName As String, w As XmlTextWriter)</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.globalization.numberformatinfo">NumberFormatInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>NumberFormatInfo</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">elementName</span></td>
      <td><p>Name of XML element</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">XmlTextWriter</span></td>
      <td><span class="parametername">w</span></td>
      <td><p>XmlTextWriter object to which to save</p>
</td>
    </tr>
  </tbody>
</table>
</div>
