Nullable<(Of <(T>)>) Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the Nullable<(Of <(T>)>) structure to the specified value.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public Sub New ( _
    value As T _
)
public Nullable(
    T value
)

Parameters

  • value
    Type: T
    A value type.

Remarks

The Nullable<(Of <(T>)>) constructor initializes the HasValue property of the new Nullable<(Of <(T>)>) object to true, and the Value property to the value of the value parameter.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Nullable<(Of <(T>)>) Structure

System Namespace