# C1.DataConnector.IsRequiredAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_IsRequiredAttribute" data-uid="C1.DataConnector.IsRequiredAttribute" class="text-break">IsRequiredAttribute Class
</h1>
  <div class="markdown level0 summary"><p>Attribute used to specify required 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">IsRequiredAttribute</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_IsRequiredAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class IsRequiredAttribute : Attribute</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.Property, Inherited:=True, AllowMultiple:=False)&gt;
Public Class IsRequiredAttribute
    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_IsRequiredAttribute__ctor_System_Boolean_" data-uid="C1.DataConnector.IsRequiredAttribute.#ctor(System.Boolean)">
          <a class="xref" href="C1.DataConnector.IsRequiredAttribute.-ctor.html#C1_DataConnector_IsRequiredAttribute__ctor_System_Boolean_">IsRequiredAttribute(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>This constructor defines required parameter: isRequired.</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_DataConnector_IsRequiredAttribute_IsRequired" data-uid="C1.DataConnector.IsRequiredAttribute.IsRequired">
          <a class="xref" href="C1.DataConnector.IsRequiredAttribute.IsRequired.html#C1_DataConnector_IsRequiredAttribute_IsRequired">IsRequired</a>
        </td>
        <td class="markdown level1 summary"><p>Define IsRequired property.</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_IsRequiredAttribute_RequiredProperties_System_Type_" data-uid="C1.DataConnector.IsRequiredAttribute.RequiredProperties(System.Type)">
          <a class="xref" href="C1.DataConnector.IsRequiredAttribute.RequiredProperties.html#C1_DataConnector_IsRequiredAttribute_RequiredProperties_System_Type_">RequiredProperties(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Return a list of required properties corresponding to the given connection string type.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
