# C1.Web.Api.FromFormAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_FromFormAttribute" data-uid="C1.Web.Api.FromFormAttribute" class="text-break">FromFormAttribute Class
</h1>
  <div class="markdown level0 summary"><p>Defines a <span class="xref">System.Web.Http.ModelBinding.ModelBinderAttribute</span> object to deserialize the values from form.</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"><span class="xref">FromFormAttribute</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.html">C1.Web.Api</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Api.dll</h6>
  <h5 id="C1_Web_Api_FromFormAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.Class|AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class FromFormAttribute : ModelBinderAttribute</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.ClassOrAttributeTargets.Parameter, AllowMultiple:=False, Inherited:=True)&gt;
Public Class FromFormAttribute
    Inherits ModelBinderAttribute</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_FromFormAttribute__ctor" data-uid="C1.Web.Api.FromFormAttribute.#ctor">
          <a class="xref" href="C1.Web.Api.FromFormAttribute.-ctor.html#C1_Web_Api_FromFormAttribute__ctor">FromFormAttribute()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Web.Api.FromFormAttribute.html">FromFormAttribute</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
