# FarPoint.Win.Spread.Model.DefaultSheetDataModel.GetChildDataModel

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Model_DefaultSheetDataModel_GetChildDataModel_" data-uid="FarPoint.Win.Spread.Model.DefaultSheetDataModel.GetChildDataModel*">GetChildDataModel Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Model_DefaultSheetDataModel_GetChildDataModel_" data-uid="FarPoint.Win.Spread.Model.DefaultSheetDataModel.GetChildDataModel*"></a>
<h4 id="FarPoint_Win_Spread_Model_DefaultSheetDataModel_GetChildDataModel_System_Int32_System_String_" data-uid="FarPoint.Win.Spread.Model.DefaultSheetDataModel.GetChildDataModel(System.Int32,System.String)">GetChildDataModel(int, string)</h4>
<div class="markdown level1 summary"><p>Gets the data model (ISheetDataModel object) for the specified row and data relation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ISheetDataModel GetChildDataModel(int row, string relation)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetChildDataModel(row As Integer, relation As String) As ISheetDataModel</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.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row whose child data model is to be returned</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">relation</span></td>
      <td><p>Data relation name</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="FarPoint.Win.Spread.Model.ISheetDataModel.html">ISheetDataModel</a></td>
      <td><p>The data model (ISheetDataModel object) for the specified row and data relation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.Model.IChildModelSupport.GetChildDataModel.html#FarPoint_Win_Spread_Model_IChildModelSupport_GetChildDataModel_System_Int32_System_String_">IChildModelSupport.GetChildDataModel(int, string)</a></div>
</div>
