Nullable<T> Record

A nullable type can represent the normal range of values for its underlying value type, plus an additional Null value.

Namespace: Spring
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.

Show:
 NameDescription
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.

Top
Show:
 NameDescription
HasValue

Gets a value indicating whether the current Nullable<T> structure has a value.

Value

Gets the value of the current Nullable<T> value.

Top
Show:
 NameDescription
Equals(Nullable<T>)

Determines whether two nullable value are equal.

EqualsInternal(T,T)

Represents method EqualsInternal(T,T).

GetHasValue

Represents method GetHasValue.

GetValue

Represents method GetValue.

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 ToString.

ToVariant

Returns the stored value as variant.

TryGetValue(T)

Gets the stored value. Returns False if it does not contain a value.

Top
Show:
 NameDescription
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>).

Top
Show:
 NameDescription
fComparer

Represents field fComparer.

fHasValue

Represents field fHasValue.

fValue

Represents field fValue.

Top