# C1.Framework.IconSet.WriteXml

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_IconSet_WriteXml_" data-uid="C1.Framework.IconSet.WriteXml*">WriteXml Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_IconSet_WriteXml_" data-uid="C1.Framework.IconSet.WriteXml*"></a>
<h4 id="C1_Framework_IconSet_WriteXml_System_Xml_XmlWriter_System_String_" data-uid="C1.Framework.IconSet.WriteXml(System.Xml.XmlWriter,System.String)">WriteXml(XmlWriter, string)</h4>
<div class="markdown level1 summary"><p>Writes this <a class="xref" href="C1.Framework.IconSet.html">IconSet</a> into an <span class="xref">System.Xml.XmlWriter</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void WriteXml(XmlWriter writer, string postfix = &quot;&quot;)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub WriteXml(writer As XmlWriter, Optional postfix As String = &quot;&quot;)</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><span class="xref">XmlWriter</span></td>
      <td><span class="parametername">writer</span></td>
      <td><p><span class="xref">System.Xml.XmlWriter</span> that will receive the icon set definition.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">postfix</span></td>
      <td><p>The string to use as a postfix part of the iconSet name.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
