Nullable<T> Record
A nullable type can represent the normal range of values for its
underlying value type, plus an additional Null
value.
type Nullable<T> = record end;
Type Parameters
- T
- The underlying value type of the Nullable<T> generic type.
The Nullable<T> type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create(T) | Overloaded. Initializes a new instance of the Nullable<T> structure to the specified value. |
![]() | Create(Variant) | Overloaded. Initializes a new instance of the Nullable<T> structure to the specified value. |
Name | Description | |
---|---|---|
![]() | HasValue | Gets a value indicating whether the current Nullable<T> structure has a value. |
![]() | Value | Gets the value of the current Nullable<T> value. |
Name | Description | |
---|---|---|
![]() | Equals(Nullable<T>) | Determines whether two nullable value are equal. |
![]() ![]() | EqualsInternal(T,T) | Represents method |
![]() | GetHasValue | Represents method |
![]() | GetValue | Represents method |
![]() | GetValueOrDefault | Overloaded. Retrieves the value of the current Nullable<T> object, or the object's default value. |
![]() | GetValueOrDefault(T) | Overloaded. Retrieves the value of the current Nullable<T> object, or the specified default value. |
![]() | ToString | Represents method |
![]() | ToVariant | Returns the stored value as variant. |
![]() | TryGetValue(T) | Gets the stored value. Returns |
Name | Description | |
---|---|---|
![]() ![]() | Equality(Nullable<T>,Nullable<T>) | Represents operator op_Equality(Nullable<T>,Nullable<T>). |
![]() ![]() | Explicit(Variant to Nullable<T>) | Represents a conversion operator. |
![]() ![]() | Implicit(Nullable to Nullable<T>) | Represents a conversion operator. |
![]() ![]() | Implicit(T to Nullable<T>) | Represents a conversion operator. |
![]() ![]() | Inequality(Nullable<T>,Nullable<T>) | Represents operator op_Inequality(Nullable<T>,Nullable<T>). |