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<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
Show:
© 2014 Microsoft