This documentation is archived and is not being maintained.
Nullable<T> Methods
Visual Studio 2010
The Nullable<T> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Indicates whether the current Nullable<T> object is equal to a specified object. (Overrides ValueType::Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Retrieves the hash code of the object returned by the Value property. (Overrides ValueType::GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetValueOrDefault() | Retrieves the value of the current Nullable<T> object, or the object's default value. |
|
GetValueOrDefault(T) | Retrieves the value of the current Nullable<T> object, or the specified default value. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns the text representation of the value of the current Nullable<T> object. (Overrides ValueType::ToString().) |
Show: