SqlBoolean Explicit Conversion (SqlByte to SqlBoolean)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlByte.ToSqlBoolean

Converts the SqlByte parameter to a SqlBoolean structure.

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

public static explicit operator SqlBoolean (
	SqlByte x
)

Parameters

x
Type: System.Data.SqlTypes.SqlByte

A SqlByte to be converted to a SqlBoolean structure.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A new SqlBoolean structure whose value equals the Value of the SqlByte parameter.

.NET Framework
Available since 1.1
Return to top
Show: