Explicit Conversion (SqlBoolean to SqlByte)

SqlByte Explicit Conversion (SqlBoolean to SqlByte)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlBoolean.ToSqlByte

Converts the SqlBoolean parameter to a SqlByte.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static explicit operator SqlByte (
	SqlBoolean x
)

Parameters

x
Type: System.Data.SqlTypes.SqlBoolean

The SqlBoolean parameter to be converted to a SqlByte.

Return Value

Type: System.Data.SqlTypes.SqlByte

A SqlByte whose Value property equals the ByteValue of the supplied SqlBoolean parameter.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft