[]
Boolean type accepted null value.
[TypeConverter(typeof(NullableBoolean.Converter))]
public struct NullableBoolean : IComparable
Name | Description |
---|---|
NullableBoolean(bool) | Default constructor |
NullableBoolean(string) | For internal use only. |
NullableBoolean(string, GraphXmlSerializationContext) | For internal use only. |
Name | Description |
---|---|
HasValue | Returns the false if there is null value otherwise returns true. |
Value | Gets the value of bool. |
Name | Description |
---|---|
CompareTo(NullableBoolean) | Performs a comparison of current instance and specified instance of NullableBoolean and returns a value indicating whether one is less than, equal to, or greater than the other. |
Equals(NullableBoolean) | Equalses the specified other. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
ToString() | Returns a string that represents this instance. |
Name | Description |
---|---|
operator ==(NullableBoolean, NullableBoolean) | Oveloading the equality operator. |
explicit operator bool(NullableBoolean) | Explicit type conversion operator from NullableBoolean to bool. |
implicit operator NullableBoolean(bool) | Implicit type conversion operator from bool to NullableBoolean. |
operator !=(NullableBoolean, NullableBoolean) | Overloading the inequality operator. |