This topic has not yet been rated - Rate this topic

Nullable(Of T) Constructor

May 02, 2013

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)
'Declaration
Public Sub New ( _
	value As T _
)

Parameters

value
Type: T
A value type.

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.

Windows Phone OS

Supported in: 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.