# C1.Web.Api.ImportModelBinderAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_ImportModelBinderAttribute" data-uid="C1.Web.Api.ImportModelBinderAttribute" class="text-break">ImportModelBinderAttribute Class
</h1>
  <div class="markdown level0 summary"><p>An attribute to apply to action parameters for model binding for import.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.modelbinderattribute">ModelBinderAttribute</a></div>
    <div class="level3"><span class="xref">ImportModelBinderAttribute</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.modelbinding.imodelnameprovider">IModelNameProvider</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.modelbinding.ibindertypeprovidermetadata">IBinderTypeProviderMetadata</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.modelbinding.ibindingsourcemetadata">IBindingSourceMetadata</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.html">C1.Web.Api</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Api.dll</h6>
  <h5 id="C1_Web_Api_ImportModelBinderAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class ImportModelBinderAttribute : ModelBinderAttribute, IModelNameProvider, IBinderTypeProviderMetadata, IBindingSourceMetadata</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.Parameter, AllowMultiple:=False, Inherited:=True)&gt;
Public Class ImportModelBinderAttribute
    Inherits ModelBinderAttribute
    Implements IModelNameProvider, IBinderTypeProviderMetadata, IBindingSourceMetadata</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_Web_Api_ImportModelBinderAttribute__ctor" data-uid="C1.Web.Api.ImportModelBinderAttribute.#ctor">
          <a class="xref" href="C1.Web.Api.ImportModelBinderAttribute.-ctor.html#C1_Web_Api_ImportModelBinderAttribute__ctor">ImportModelBinderAttribute()</a>
        </td>
        <td class="markdown level1 summary"><p>The constructor of ImportModelBinderAttribute class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
