FromRouteAttribute Class

Summary

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

Syntax

public class FromRouteAttribute : Attribute, _Attribute, IBindingSourceMetadata, IModelNameProvider

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.FromRouteAttribute

Properties

BindingSource()
Return type:Microsoft.AspNet.Mvc.ModelBinding.BindingSource
public BindingSource BindingSource { get; }
Name()
Return type:System.String
public string Name { get; set; }