FromFormAttribute Класс

Определение

Указывает, что параметр или свойство должны быть привязаны с помощью form-data в тексте запроса.

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
Наследование
FromFormAttribute
Атрибуты
Реализации

Конструкторы

FromFormAttribute()

Указывает, что параметр или свойство должны быть привязаны с помощью form-data в тексте запроса.

Свойства

BindingSource

Возвращает набор BindingSource.

Name

Имя поля формы.

Применяется к