FromFormAttribute Classe

Definizione

Specifica che un parametro o una proprietà deve essere associato utilizzando i dati del modulo nel corpo della richiesta.

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
Ereditarietà
FromFormAttribute
Attributi
Implementazioni

Costruttori

FromFormAttribute()

Specifica che un parametro o una proprietà deve essere associato utilizzando i dati del modulo nel corpo della richiesta.

Proprietà

BindingSource

Ottiene l'oggetto BindingSource.

Name

Nome del campo modulo.

Si applica a