FromUriAttribute Class

Definition

An attribute that specifies that the value can be bound from the query string or route data.

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

Constructors

FromUriAttribute()

Properties

BindingSource

Gets the BindingSource.

IsOptional

Gets a value indicating whether the parameter participates in ASP.NET Web API action overloading. If true, the parameter does not participate in overloading. Otherwise, it does.

Name

Model name.

Applies to