Explicit Conversion (Nullable(T) to T)
Collapse the table of content
Expand the table of content

Nullable(Of T) Narrowing Conversion (Nullable(Of T) to T)

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

Returns the value of a specified Nullable(Of T) value.

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

'Declaration
Public Shared Narrowing Operator CType ( _
	value As Nullable(Of T) _
) As T

Parameters

value
Type: System.Nullable(Of T)
A Nullable(Of T) value.

Return Value

Type: T
The value of the Value property for the value parameter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft