# C1.WinUI.Calendar.CalendarAdapter.GetSlotKind

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Calendar_CalendarAdapter_GetSlotKind_" data-uid="C1.WinUI.Calendar.CalendarAdapter.GetSlotKind*">GetSlotKind Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Calendar_CalendarAdapter_GetSlotKind_" data-uid="C1.WinUI.Calendar.CalendarAdapter.GetSlotKind*"></a>
<h4 id="C1_WinUI_Calendar_CalendarAdapter_GetSlotKind_C1_WinUI_Calendar_CalendarSlotInfo_" data-uid="C1.WinUI.Calendar.CalendarAdapter.GetSlotKind(C1.WinUI.Calendar.CalendarSlotInfo)">GetSlotKind(CalendarSlotInfo)</h4>
<div class="markdown level1 summary"><p>Gets the kind of slot will be used to the specified <code class="paramref">slotInfo</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual object GetSlotKind(CalendarSlotInfo slotInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function GetSlotKind(slotInfo As CalendarSlotInfo) As Object</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.WinUI.Calendar.CalendarSlotInfo.html">CalendarSlotInfo</a></td>
      <td><span class="parametername">slotInfo</span></td>
      <td><p>The info about a slot.</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.object">object</a></td>
      <td><p>Any object identifying a kind of slot. If null is returned. the slots will not be recycled.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WinUI_Calendar_CalendarAdapter_GetSlotKind_C1_WinUI_Calendar_CalendarSlotInfo__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The object returned will be used as a key for a dictionary of recycled slots, the ones with the same key will be recycled in the same bucket.</p>
</div>
</div>
