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)

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ValueProviderResult

Syntax

[SerializableAttribute]
public class ValueProviderResult
[SerializableAttribute]
public ref class ValueProviderResult 
[<SerializableAttribute>]
type ValueProviderResult = class end
<SerializableAttribute>
Public Class ValueProviderResult

Constructors

Name Description
System_CAPS_protmethod ValueProviderResult()

Initializes a new instance of the ValueProviderResult class.

System_CAPS_pubmethod ValueProviderResult(Object, String, CultureInfo)

Initializes a new instance of the ValueProviderResult class by using the specified raw value, attempted value, and culture information.

Properties

Name Description
System_CAPS_pubproperty AttemptedValue

Gets or sets the raw value that is converted to a string for display.

System_CAPS_pubproperty Culture

Gets or sets the culture.

System_CAPS_pubproperty RawValue

Gets or set the raw value that is supplied by the value provider.

Methods

Name Description
System_CAPS_pubmethod ConvertTo(Type)

Converts the value that is encapsulated by this result to the specified type.

System_CAPS_pubmethod ConvertTo(Type, CultureInfo)

Converts the value that is encapsulated by this result to the specified type by using the specified culture information.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

System.Web.Mvc Namespace

Return to top