ValueProviderResult Class
Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ValueProviderResult type exposes the following members.
| Name | Description | |
|---|---|---|
|
ValueProviderResult() | Initializes a new instance of the ValueProviderResult class. |
|
ValueProviderResult(Object, String, CultureInfo) | Initializes a new instance of the ValueProviderResult class by using the specified raw value, attempted value, and culture information. |
| Name | Description | |
|---|---|---|
|
AttemptedValue | Gets or sets the raw value that is converted to a string for display. |
|
Culture | Gets or sets the culture. |
|
RawValue | Gets or set the raw value that is supplied by the value provider. |
| Name | Description | |
|---|---|---|
|
ConvertTo(Type) | Converts the value that is encapsulated by this result to the specified type. |
|
ConvertTo(Type, CultureInfo) | Converts the value that is encapsulated by this result to the specified type by using the specified culture information. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |