# C1.PivotEngine.PivotKey.MatchesItem

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_PivotEngine_PivotKey_MatchesItem_" data-uid="C1.PivotEngine.PivotKey.MatchesItem*">MatchesItem Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_PivotEngine_PivotKey_MatchesItem_" data-uid="C1.PivotEngine.PivotKey.MatchesItem*"></a>
<h4 id="C1_PivotEngine_PivotKey_MatchesItem_System_Object_" data-uid="C1.PivotEngine.PivotKey.MatchesItem(System.Object)">MatchesItem(object)</h4>
<div class="markdown level1 summary"><p>Gets a value that determines whether a given data object matches the
content of this <a class="xref" href="C1.PivotEngine.PivotKey.html">PivotKey</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool MatchesItem(object item)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function MatchesItem(item As Object) 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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">item</span></td>
      <td><p>Item that contains the raw data.</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 <code class="paramref">item</code> matches this
<a class="xref" href="C1.PivotEngine.PivotKey.html">PivotKey</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_PivotEngine_PivotKey_MatchesItem_System_Object__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The match is determined by comparing the formatted values for each
<a class="xref" href="C1.PivotEngine.PivotField.html">PivotField</a> in the key to the formatted values in the
<code class="paramref">item</code>. Therefore, matches may occur even if the raw 
values are different.</p>
</div>
</div>
