Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the context in which a model binder functions.
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.ModelBindingContext
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ModelBindingContext
'Usage
Dim instance As ModelBindingContext
public class ModelBindingContext
public ref class ModelBindingContext
type ModelBindingContext = class end
public class ModelBindingContext
The ModelBindingContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ModelBindingContext() | Initializes a new instance of the ModelBindingContext class. |
![]() |
ModelBindingContext(ModelBindingContext) | Initializes a new instance of the ModelBindingContext class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
FallbackToEmptyPrefix | Gets or sets a value that indicates whether the binder should use an empty prefix. |
![]() |
Model | Gets or sets the model. |
![]() |
ModelMetadata | Gets or sets the model metadata. |
![]() |
ModelName | Gets or sets the name of the model. |
![]() |
ModelState | Gets or sets the state of the model. |
![]() |
ModelType | Gets or sets the type of the model. |
![]() |
PropertyMetadata | Gets the property metadata. |
![]() |
ValidationNode | Gets or sets the validation node. |
![]() |
ValueProvider | Gets or sets the value provider. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
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.