ModelMetadata.IsNullableValueType Property

Gets a value that indicates whether the type is nullable.

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

Syntax

'Declaration
Public ReadOnly Property IsNullableValueType As Boolean
    Get
'Usage
Dim instance As ModelMetadata
Dim value As Boolean

value = instance.IsNullableValueType
public bool IsNullableValueType { get; }
public:
property bool IsNullableValueType {
    bool get ();
}
member IsNullableValueType : bool
function get IsNullableValueType () : boolean

Property Value

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

See Also

Reference

ModelMetadata Class

System.Web.Http.Metadata Namespace