Partager via


ModelMetadata.ModelType Property

Gets the type of the model.

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

Syntax

'Declaration
Public ReadOnly Property ModelType As Type
    Get
'Usage
Dim instance As ModelMetadata
Dim value As Type

value = instance.ModelType
public Type ModelType { get; }
public:
property Type^ ModelType {
    Type^ get ();
}
member ModelType : Type
function get ModelType () : Type

Property Value

Type: System.Type
The type of the model.

See Also

Reference

ModelMetadata Class

System.Web.Http.Metadata Namespace