FromRouteAttribute FromRouteAttribute FromRouteAttribute Class

Definition

Specifies that a parameter or property should be bound using route-data from the current request.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public class FromRouteAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider
type FromRouteAttribute = class
    inherit Attribute
    interface IBindingSourceMetadata
    interface IModelNameProvider
Public Class FromRouteAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider
Inheritance
FromRouteAttributeFromRouteAttributeFromRouteAttribute
Attributes
Implements

Constructors

FromRouteAttribute() FromRouteAttribute() FromRouteAttribute()

Properties

BindingSource BindingSource BindingSource
Name Name Name

Applies to