# C1.Schedule.Appointment.ParentCollection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_Appointment_ParentCollection_" data-uid="C1.Schedule.Appointment.ParentCollection*">ParentCollection Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_Appointment_ParentCollection_" data-uid="C1.Schedule.Appointment.ParentCollection*"></a>
<h4 id="C1_Schedule_Appointment_ParentCollection" data-uid="C1.Schedule.Appointment.ParentCollection">ParentCollection</h4>
<div class="markdown level1 summary"><p>Gets or sets the reference to the parent <a class="xref" href="C1.Schedule.AppointmentCollection.html">AppointmentCollection</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 AppointmentCollection ParentCollection { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ParentCollection As AppointmentCollection</code></pre>
</div>
<h5 id="C1_Schedule_Appointment_ParentCollection_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property is set automatically when appointment is added to the parent collection.
You should manually set this property if you need to edit new appointment before adding it to collection.
It will allow appointment to have references to Contacts, Resources, Categories, Labels and Statuses collections.</p>
</div>
</div>
