FromHeaderAttribute クラス

定義

要求ヘッダーを使用してパラメーターまたはプロパティをバインドすることを指定します。

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
継承
FromHeaderAttribute
属性
実装

コンストラクター

FromHeaderAttribute()

要求ヘッダーを使用してパラメーターまたはプロパティをバインドすることを指定します。

プロパティ

BindingSource

BindingSource を取得します。

Name

要求ヘッダー名。

適用対象