# C1.DataConnector.HierarchyAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_HierarchyAttribute" data-uid="C1.DataConnector.HierarchyAttribute" class="text-break">HierarchyAttribute Class
</h1>
  <div class="markdown level0 summary"><p>The HierarchyAttribute class serves as an attribute used to specify hierarchy connection properties.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.attribute">Attribute</a></div>
    <div class="level2"><span class="xref">HierarchyAttribute</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataConnector.html">C1.DataConnector</a></h6>
  <h6><strong>Assembly</strong>: C1.DataConnector.dll</h6>
  <h5 id="C1_DataConnector_HierarchyAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class HierarchyAttribute : Attribute</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.Property, Inherited:=True, AllowMultiple:=False)&gt;
Public Class HierarchyAttribute
    Inherits Attribute</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_DataConnector_HierarchyAttribute__ctor_System_String___" data-uid="C1.DataConnector.HierarchyAttribute.#ctor(System.String[])">
          <a class="xref" href="C1.DataConnector.HierarchyAttribute.-ctor.html#C1_DataConnector_HierarchyAttribute__ctor_System_String___">HierarchyAttribute(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>This constructor defines hierarchy parameter.</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_DataConnector_HierarchyAttribute_ConstructExpression_System_String___" data-uid="C1.DataConnector.HierarchyAttribute.ConstructExpression(System.String[])">
          <a class="xref" href="C1.DataConnector.HierarchyAttribute.ConstructExpression.html#C1_DataConnector_HierarchyAttribute_ConstructExpression_System_String___">ConstructExpression(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs expression based on given elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_HierarchyAttribute_GetHierarchy" data-uid="C1.DataConnector.HierarchyAttribute.GetHierarchy">
          <a class="xref" href="C1.DataConnector.HierarchyAttribute.GetHierarchy.html#C1_DataConnector_HierarchyAttribute_GetHierarchy">GetHierarchy()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the hierarchy expression.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
