This topic has not yet been rated - Rate this topic

ModelBindingContext Class

Provides the context in which a model binder functions.

System.Object
  System.Web.Mvc.ModelBindingContext

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public class ModelBindingContext

The ModelBindingContext type exposes the following members.

  Name Description
Public method ModelBindingContext() Initializes a new instance of the ModelBindingContext class.
Public method ModelBindingContext(ModelBindingContext) Initializes a new instance of the ModelBindingContext class using the binding context.
Top
  Name Description
Public property FallbackToEmptyPrefix Gets or sets a value that indicates whether the binder should use an empty prefix.
Public property Model Gets or sets the model.
Public property ModelMetadata Gets or sets the model metadata.
Public property ModelName Gets or sets the name of the model.
Public property ModelState Gets or sets the state of the model.
Public property ModelType Gets or sets the type of the model.
Public property PropertyFilter Gets or sets the property filter.
Public property PropertyMetadata Gets the property metadata.
Public property ValueProvider Gets or sets the value provider.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)