Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FromUriAttribute Class
Collapse the table of content
Expand the table of content

FromUriAttribute Class

 

An attribute that specifies that an action parameter comes from the URI of the incoming HttpRequestMessage.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)


[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Parameter, 
	Inherited = true, AllowMultiple = false)]
public sealed class FromUriAttribute : ModelBinderAttribute

NameDescription
System_CAPS_pubmethodFromUriAttribute()

Initializes a new instance of the FromUriAttribute class.

NameDescription
System_CAPS_pubpropertyBinderType

Gets or sets the type of model binder.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertyName

Gets or sets the name to consider as the parameter name during model binding.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertySuppressPrefixCheck

Gets or sets a value that specifies whether the prefix check should be suppressed.(Inherited from ModelBinderAttribute.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetBinding(HttpParameterDescriptor)

Gets the binding for a parameter.(Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetModelBinder(HttpConfiguration, Type)

Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetModelBinderProvider(HttpConfiguration)

Gets the model binder provider.(Inherited from ModelBinderAttribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValueProviderFactories(HttpConfiguration)

Gets the value provider factories for the model binder.(Overrides ModelBinderAttribute.GetValueProviderFactories(HttpConfiguration).)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft