# C1.GanttView.CalendarMappingCollection.WriteObject

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_GanttView_CalendarMappingCollection_WriteObject_" data-uid="C1.GanttView.CalendarMappingCollection.WriteObject*">WriteObject Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_GanttView_CalendarMappingCollection_WriteObject_" data-uid="C1.GanttView.CalendarMappingCollection.WriteObject*"></a>
<h4 id="C1_GanttView_CalendarMappingCollection_WriteObject_C1_Win_GanttView_CustomCalendar_System_Object_" data-uid="C1.GanttView.CalendarMappingCollection.WriteObject(C1.Win.GanttView.CustomCalendar,System.Object)">WriteObject(CustomCalendar, object)</h4>
<div class="markdown level1 summary"><p>Fills boundObject with values from specified CustomCalendar object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void WriteObject(CustomCalendar calendar, object boundObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub WriteObject(calendar As CustomCalendar, boundObject 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.Win.GanttView.CustomCalendar.html">CustomCalendar</a></td>
      <td><span class="parametername">calendar</span></td>
      <td><p>CustomCalendar object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">boundObject</span></td>
      <td><p>Object from custom data source/</p>
</td>
    </tr>
  </tbody>
</table>
</div>
