ModelBindingContext Class


Provides the context in which a model binder functions.

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

Inheritance Hierarchy



public class ModelBindingContext
public ref class ModelBindingContext 
type ModelBindingContext = class end
Public Class ModelBindingContext


Name Description
System_CAPS_pubmethod ModelBindingContext()

Initializes a new instance of the ModelBindingContext class.

System_CAPS_pubmethod ModelBindingContext(ModelBindingContext)

Initializes a new instance of the ModelBindingContext class using the binding context.


Name Description
System_CAPS_pubproperty FallbackToEmptyPrefix

Gets or sets a value that indicates whether the binder should use an empty prefix.

System_CAPS_pubproperty Model

Gets or sets the model.

System_CAPS_pubproperty ModelMetadata

Gets or sets the model metadata.

System_CAPS_pubproperty ModelName

Gets or sets the name of the model.

System_CAPS_pubproperty ModelState

Gets or sets the state of the model.

System_CAPS_pubproperty ModelType

Gets or sets the type of the model.

System_CAPS_pubproperty PropertyFilter

Gets or sets the property filter.

System_CAPS_pubproperty PropertyMetadata

Gets the property metadata.

System_CAPS_pubproperty ValueProvider

Gets or sets the value provider.


Name Description
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