Partager via


ModelBindingContext.Model Property

Gets or sets the model.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property Model As Object
    Get
    Set
'Usage
Dim instance As ModelBindingContext
Dim value As Object

value = instance.Model

instance.Model = value
public Object Model { get; set; }
public:
property Object^ Model {
    Object^ get ();
    void set (Object^ value);
}
member Model : Object with get, set
function get Model () : Object
function set Model (value : Object)

Property Value

Type: System.Object
The model.

See Also

Reference

ModelBindingContext Class

System.Web.Http.ModelBinding Namespace