FromRouteAttribute クラス

定義

現在の要求のルート データを使用して、パラメーターまたはプロパティをバインドすることを指定します。

public ref class FromRouteAttribute : 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 FromRouteAttribute : 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 FromRouteAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IFromRouteMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromRouteAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type FromRouteAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
    interface IFromRouteMetadata
Public Class FromRouteAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider
Public Class FromRouteAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IFromRouteMetadata, IModelNameProvider
継承
FromRouteAttribute
属性
実装

コンストラクター

FromRouteAttribute()

現在の要求のルート データを使用して、パラメーターまたはプロパティをバインドすることを指定します。

プロパティ

BindingSource

BindingSource を取得します。

Name

RouteValues 名です。

適用対象