ModelMetadata.IsNullableValueType Property

Gets a value that indicates whether the type is nullable.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

function get IsNullableValueType () : boolean

Property Value

Type: System.Boolean
true if the type is nullable; otherwise, false.
Show: