NullableTypes Class Library

NullableBoolean.ToNullableSingle Method 

Converts this NullableBoolean structure to a NullableSingle structure.

[Visual Basic]
Public Function ToNullableSingle() As NullableSingle
[C#]
public NullableSingle ToNullableSingle();

Return Value

Null if this NullableBoolean is Null otherwise a new NullableSingle structure whose Value equals 1 if this NullableBoolean structure's Value is true or equals 0 if this NullableBoolean structure's Value is false.

See Also

NullableBoolean Class | NullableTypes Namespace