Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Nullable.op_Implicit Method

Note: This method is new in the .NET Framework version 2.0.

Creates a new Nullable object initialized to a specified value.

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

public static implicit operator Nullable<T> (
	T value
)
J# supports the use of custom casts, but not the declaration of new ones.
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

value

A value type.

Return Value

A Nullable object whose Value property is initialized with the value parameter.

If the value parameter is not a null reference (Nothing in Visual Basic), the Value property of the new Nullable value is initialized to the value parameter and the HasValue property is initialized to true.

If the value parameter is a null reference (Nothing in Visual Basic), the Value property of the new Nullable value is initialized to the default value, which is the value that is all binary zeroes, and the HasValue property is initialized to false.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

Show:
© 2014 Microsoft