ValueProviderResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[System.Serializable]
public class ValueProviderResult
type ValueProviderResult = class
Public Class ValueProviderResult
- Inheritance
-
ValueProviderResult
- Attributes
Constructors
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. |
Properties
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. |
Methods
ConvertTo(Type, CultureInfo) |
Converts the value that is encapsulated by this result to the specified type by using the specified culture information. |
ConvertTo(Type) |
Converts the value that is encapsulated by this result to the specified type. |