FromFormAttribute Klasse

Definition

Gibt an, dass ein Parameter oder eine Eigenschaft mithilfe von Formulardaten im Anforderungstext gebunden werden soll.

public ref class FromFormAttribute : Attribute, Microsoft::AspNetCore::Mvc::ModelBinding::IBindingSourceMetadata, Microsoft::AspNetCore::Mvc::ModelBinding::IModelNameProvider
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class FromFormAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class FromFormAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IFromFormMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromFormAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromFormAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
    interface IFromFormMetadata
Public Class FromFormAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider
Public Class FromFormAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IFromFormMetadata, IModelNameProvider
Vererbung
FromFormAttribute
Attribute
Implementiert

Konstruktoren

FromFormAttribute()

Gibt an, dass ein Parameter oder eine Eigenschaft mithilfe von Formulardaten im Anforderungstext gebunden werden soll.

Eigenschaften

BindingSource

Ruft das BindingSource ab.

Name

Der Name des Formularfelds.

Gilt für: