NullableBool

NullableBool class

A class for boolean values with possibility to check whether the value was defined or not.

Constructors

NameDescription
NullableBool (2 overloads)Initializes a new instance of the NullableBool struct with the specified boolean value.

Methods

NameDescription
Equals (2 overloads)Returns a flag indicating whether this instance is equal to the specified instance of the NullableBool class.
get_IsDefinedGets a value indicating whether the value was defined; otherwise, false.
get_ValueGets a value indicating whether current value is true or false.
GetHashCodeReturns a hash code value for the instance of the NullableBool class.
set_ValueSets a value indicating whether current value is true or false.
ToStringReturns a string that represents the current object.