This documentation is archived and is not being maintained.

Nullable.GetValueOrDefault Method

Retrieves the value of the current Nullable object, or a default value.

Name Description
Nullable.GetValueOrDefault () Retrieves the value of the current Nullable object, or the object's default value.

Supported by the .NET Compact Framework.

Nullable.GetValueOrDefault (T) Retrieves the value of the current Nullable object, or the specified default value.

Supported by the .NET Compact Framework.

Show: