Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None
.NET Framework Class Library

Nullable<T>.GetValueOrDefault Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetValueOrDefault() Retrieves the value of the current Nullable<T> object, or the object's default value.
Public method GetValueOrDefault(T) Retrieves the value of the current Nullable<T> object, or the specified default value.
Top