# C1.GanttView.ResourceMappingCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_GanttView_ResourceMappingCollection" data-uid="C1.GanttView.ResourceMappingCollection" class="text-break">ResourceMappingCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a generic collection of mappings for properties of
<a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> derived objects to appropriate data fields.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ResourceMappingCollection</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.GanttView.html">C1.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_GanttView_ResourceMappingCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ResourceMappingCollection : MappingCollectionBase&lt;Resource&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ResourceMappingCollection
    Inherits MappingCollectionBase(Of Resource)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection__ctor" data-uid="C1.GanttView.ResourceMappingCollection.#ctor">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.-ctor.html#C1_GanttView_ResourceMappingCollection__ctor">ResourceMappingCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.GanttView.ResourceMappingCollection.html">ResourceMappingCollection</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_Cost" data-uid="C1.GanttView.ResourceMappingCollection.Cost">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.Cost.html#C1_GanttView_ResourceMappingCollection_Cost">Cost</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.Resource.Cost.html#C1_Win_GanttView_Resource_Cost">Cost</a>
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.Resource.Cost.html#C1_Win_GanttView_Resource_Cost">Cost</a> property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_Name" data-uid="C1.GanttView.ResourceMappingCollection.Name">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.Name.html#C1_GanttView_ResourceMappingCollection_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.Resource.Name.html#C1_Win_GanttView_Resource_Name">Name</a>
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.Resource.Name.html#C1_Win_GanttView_Resource_Name">Name</a> property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_Notes" data-uid="C1.GanttView.ResourceMappingCollection.Notes">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.Notes.html#C1_GanttView_ResourceMappingCollection_Notes">Notes</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the BaseObject.Notes
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the BaseObject.Notes property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_ResourceID" data-uid="C1.GanttView.ResourceMappingCollection.ResourceID">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.ResourceID.html#C1_GanttView_ResourceMappingCollection_ResourceID">ResourceID</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the BaseObject.ID&gt;
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the BaseObject.ID property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_ResourceType" data-uid="C1.GanttView.ResourceMappingCollection.ResourceType">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.ResourceType.html#C1_GanttView_ResourceMappingCollection_ResourceType">ResourceType</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.Resource.ResourceType.html#C1_Win_GanttView_Resource_ResourceType">ResourceType</a>
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.Resource.ResourceType.html#C1_Win_GanttView_Resource_ResourceType">ResourceType</a> property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_UnitOfMeasure" data-uid="C1.GanttView.ResourceMappingCollection.UnitOfMeasure">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.UnitOfMeasure.html#C1_GanttView_ResourceMappingCollection_UnitOfMeasure">UnitOfMeasure</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <span class="xref">C1.Schedule.MappingInfo</span> object for the <a class="xref" href="C1.Win.GanttView.Resource.UnitOfMeasure.html#C1_Win_GanttView_Resource_UnitOfMeasure">UnitOfMeasure</a>
property of the <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a> object.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the <a class="xref" href="C1.Win.GanttView.Resource.UnitOfMeasure.html#C1_Win_GanttView_Resource_UnitOfMeasure">UnitOfMeasure</a> property
to be bound to the appropriate field in the data source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_ReadObject_C1_Win_GanttView_Resource_System_Object_System_Boolean_" data-uid="C1.GanttView.ResourceMappingCollection.ReadObject(C1.Win.GanttView.Resource,System.Object,System.Boolean)">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.ReadObject.html#C1_GanttView_ResourceMappingCollection_ReadObject_C1_Win_GanttView_Resource_System_Object_System_Boolean_">ReadObject(Resource, object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills CustomCalendar object with values from specified boundObject.</p>
</td>
      </tr>
      <tr>
        <td id="C1_GanttView_ResourceMappingCollection_WriteObject_C1_Win_GanttView_Resource_System_Object_" data-uid="C1.GanttView.ResourceMappingCollection.WriteObject(C1.Win.GanttView.Resource,System.Object)">
          <a class="xref" href="C1.GanttView.ResourceMappingCollection.WriteObject.html#C1_GanttView_ResourceMappingCollection_WriteObject_C1_Win_GanttView_Resource_System_Object_">WriteObject(Resource, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills boundObject with values from specified Resource object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
