Compartir a través de


FromHeaderAttribute Clase

Definición

Especifica que un parámetro o propiedad se debe enlazar mediante los encabezados de solicitud.

public ref class FromHeaderAttribute : 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 FromHeaderAttribute : 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 FromHeaderAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IFromHeaderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromHeaderAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromHeaderAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
    interface IFromHeaderMetadata
Public Class FromHeaderAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider
Public Class FromHeaderAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IFromHeaderMetadata, IModelNameProvider
Herencia
FromHeaderAttribute
Atributos
Implementaciones

Constructores

FromHeaderAttribute()

Especifica que un parámetro o propiedad se debe enlazar mediante los encabezados de solicitud.

Propiedades

BindingSource

Obtiene la estructura BindingSource.

Name

Nombre del encabezado de solicitud.

Se aplica a