Share via


FromODataUriAttribute Class

Definition

An implementation of System.Web.Http.ParameterBindingAttribute that can bind URI parameters using OData conventions.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class FromODataUriAttribute : System.Web.Http.ModelBinding.ModelBinderAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class FromODataUriAttribute : Microsoft.AspNetCore.Mvc.ModelBinderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type FromODataUriAttribute = class
    inherit ModelBinderAttribute
Public NotInheritable Class FromODataUriAttribute
Inherits ModelBinderAttribute
Inheritance
System.Web.Http.ModelBinding.ModelBinderAttribute
FromODataUriAttribute
Inheritance
FromODataUriAttribute
Attributes

Constructors

FromODataUriAttribute()

Instantiates a new instance of the FromODataUriAttribute class.

Methods

GetBinding(HttpParameterDescriptor)

Gets the binding for a parameter.

Applies to