NullableTypes Class Library

NullableBoolean.ByteValue Property

Gets the value of the NullableBoolean structure as a byte.

[Visual Basic]
Public ReadOnly Property ByteValue As Byte
[C#]
public byte ByteValue {get;}

Property Value

A byte representing the value of the NullableBoolean structure.

Remarks

The byte value will be either 0 or 1.

Exceptions

Exception TypeCondition
NullableNullValueException The property is set to null.

See Also

NullableBoolean Class | NullableTypes Namespace