NullableTypes Class Library

NullableBoolean.ToNullableInt16 Method 

Converts this NullableBoolean structure to a NullableInt16 structure.

[Visual Basic]
Public Function ToNullableInt16() As NullableInt16
[C#]
public NullableInt16 ToNullableInt16();

Return Value

Null if this NullableBoolean is Null otherwise a new NullableInt16 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