Nullable Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Supports a value type that can be assigned null
. This class cannot be inherited.
public ref class Nullable abstract sealed
public static class Nullable
[System.Runtime.InteropServices.ComVisible(true)]
public static class Nullable
type Nullable = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type Nullable = class
Public Class Nullable
- Inheritance
-
Nullable
- Attributes
Remarks
For more information about this API, see Supplemental API remarks for Nullable.
Methods
Compare<T>(Nullable<T>, Nullable<T>) |
Compares the relative values of two Nullable<T> objects. |
Equals<T>(Nullable<T>, Nullable<T>) |
Indicates whether two specified Nullable<T> objects are equal. |
GetUnderlyingType(Type) |
Returns the underlying type argument of the specified nullable type. |
GetValueRefOrDefaultRef<T>(Nullable<T>) |
Retrieves a readonly reference to the location in the Nullable<T> instance where the value is stored. |