# GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.GetTypeOfDay

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection_GetTypeOfDay_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.GetTypeOfDay*">GetTypeOfDay Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection_GetTypeOfDay_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.GetTypeOfDay*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection_GetTypeOfDay_System_DateTime_GrapeCity_Wpf_SpreadSheet_CellType_Editors_IHoliday__" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.GetTypeOfDay(System.DateTime,GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday@)">GetTypeOfDay(DateTime, out IHoliday)</h4>
<div class="markdown level1 summary"><p>Determines the type of day for the specified date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual DayType GetTypeOfDay(DateTime dateTime, out IHoliday holiday)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function GetTypeOfDay(dateTime As Date, ByRef holiday As IHoliday) As DayType</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.datetime">DateTime</a></td>
      <td><span class="parametername">dateTime</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value indicates the date.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday.html">IHoliday</a></td>
      <td><span class="parametername">holiday</span></td>
      <td><p>An instance implemented GrapeCity.Windows.InputMan.IHoliday, such as <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ForceHoliday.html">ForceHoliday</a> or
GrapeCity.Windows.InputMan.ForceWorkday class.</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayType.html">DayType</a></td>
      <td><p>A GrapeCity.Windows.InputMan.DayType enumeration value that represents the
type of day.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
