Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

Nullable<T>.GetValueOrDefault Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Name Description
System_CAPS_pubmethod GetValueOrDefault()

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

System_CAPS_pubmethod GetValueOrDefault(T)

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

Return to top