# C1.Win.List.ListBase.Frame.GetSchema

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_ListBase_Frame_GetSchema_" data-uid="C1.Win.List.ListBase.Frame.GetSchema*">GetSchema Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_ListBase_Frame_GetSchema_" data-uid="C1.Win.List.ListBase.Frame.GetSchema*"></a>
<h4 id="C1_Win_List_ListBase_Frame_GetSchema_System_ComponentModel_PropertyDescriptorCollection_System_Int32_System_Data_DataRelation_System_ComponentModel_PropertyDescriptor___" data-uid="C1.Win.List.ListBase.Frame.GetSchema(System.ComponentModel.PropertyDescriptorCollection,System.Int32,System.Data.DataRelation,System.ComponentModel.PropertyDescriptor[])">GetSchema(PropertyDescriptorCollection, int, DataRelation, PropertyDescriptor[])</h4>
<div class="markdown level1 summary"><p>Gets the data source schema.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void GetSchema(PropertyDescriptorCollection props, int level, DataRelation r, PropertyDescriptor[] parent = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub GetSchema(props As PropertyDescriptorCollection, level As Integer, r As DataRelation, Optional parent As PropertyDescriptor() = Nothing)</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.componentmodel.propertydescriptorcollection">PropertyDescriptorCollection</a></td>
      <td><span class="parametername">props</span></td>
      <td><p>The collection of property descriptions.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">level</span></td>
      <td><p>The level of column in a hierarchical data source.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.datarelation">DataRelation</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>The collection of relations that link tables and allow navigation from parent tables to child tables.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.propertydescriptor">PropertyDescriptor</a>[]</td>
      <td><span class="parametername">parent</span></td>
      <td><p>The parent <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.propertydescriptor">PropertyDescriptor</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
