# C1.C1Preview.C1PageSettings.Compare

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PageSettings_Compare_" data-uid="C1.C1Preview.C1PageSettings.Compare*">Compare Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PageSettings_Compare_" data-uid="C1.C1Preview.C1PageSettings.Compare*"></a>
<h4 id="C1_C1Preview_C1PageSettings_Compare_C1_C1Preview_C1PageSettings_" data-uid="C1.C1Preview.C1PageSettings.Compare(C1.C1Preview.C1PageSettings)">Compare(C1PageSettings)</h4>
<div class="markdown level1 summary"><p>Compares the current <a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a> with another <a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Compare(C1PageSettings other)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Compare(other As C1PageSettings) As Boolean</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="C1.C1Preview.C1PageSettings.html">C1PageSettings</a></td>
      <td><span class="parametername">other</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a> object to compare the current one to.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if the two objects contain identical properties, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1PageSettings_Compare_" data-uid="C1.C1Preview.C1PageSettings.Compare*"></a>
<h4 id="C1_C1Preview_C1PageSettings_Compare_C1_C1Preview_C1PageSettings_C1_C1Preview_C1PageSettings_" data-uid="C1.C1Preview.C1PageSettings.Compare(C1.C1Preview.C1PageSettings,C1.C1Preview.C1PageSettings)">Compare(C1PageSettings, C1PageSettings)</h4>
<div class="markdown level1 summary"><p>Compares the properties of two <a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a> objects.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool Compare(C1PageSettings v1, C1PageSettings v2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Compare(v1 As C1PageSettings, v2 As C1PageSettings) As Boolean</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="C1.C1Preview.C1PageSettings.html">C1PageSettings</a></td>
      <td><span class="parametername">v1</span></td>
      <td><p>The first object to compare.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a></td>
      <td><span class="parametername">v2</span></td>
      <td><p>The second object to compare.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if the two objects' properties are identical, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
