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

Nullable<T> Explicit Conversion (Nullable<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<T> value.

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

public static explicit operator T (
	Nullable<T> value
)

Parameters

value
Type: System.Nullable<T>
A Nullable<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