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 ref class FromUriAttribute sealed : public ModelBinderAttribute

The FromUriAttribute type exposes the following members.

Public methodFromUriAttributeInitializes a new instance of the FromUriAttribute class.

Public propertyBinderTypeGets or sets the type of model binder. (Inherited from ModelBinderAttribute.)
Public propertyNameGets or sets the name to consider as the parameter name during model binding. (Inherited from ModelBinderAttribute.)
Public propertySuppressPrefixCheckGets or sets a value that specifies whether the prefix check should be suppressed. (Inherited from ModelBinderAttribute.)
Public propertyTypeId (Inherited from Attribute.)

Public methodEquals (Inherited from Attribute.)
Public methodGetBindingGets the binding for a parameter. (Inherited from ModelBinderAttribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetModelBinder Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.)
Public methodGetModelBinderProviderGets the model binder provider. (Inherited from ModelBinderAttribute.)
Public methodGetType (Inherited from Object.)
Public methodGetValueProviderFactoriesGets the value provider factories for the model binder. (Overrides ModelBinderAttribute::GetValueProviderFactories(HttpConfiguration).)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate method_Attribute::GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute::GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute::GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute::Invoke (Inherited from Attribute.)

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