ModelBindingContext.ModelType Property

 

Gets or sets the type of the model.

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

Syntax

public Type ModelType { get; }
public:
property Type^ ModelType {
    Type^ get();
}
member ModelType : Type with get
Public ReadOnly Property ModelType As Type

Property Value

Type: System.Type

The type of the model.

See Also

ModelBindingContext Class
System.Web.Http.ModelBinding Namespace

Return to top