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)

Syntax

public bool IsNullableValueType { get; }
public:
property bool IsNullableValueType {
    bool get();
}
member IsNullableValueType : bool with get
Public ReadOnly Property IsNullableValueType As Boolean

Property Value

Type: System.Boolean

true if the type is nullable; otherwise, false.

See Also

ModelMetadata Class
System.Web.Mvc Namespace

Return to top