SqlSingle::ToSqlByte Method ()

 

Converts this SqlSingle structure to SqlByte.

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

public:
SqlByte ToSqlByte()

Return Value

Type: System.Data.SqlTypes::SqlByte

A SqlByte structure whose Value equals the Value of this SqlSingle structure. If the SqlSingle structure's Value is true, the SqlByte structure's Value will be 1. Otherwise, the SqlByte structure's Value will be 0.

.NET Framework
Available since 1.1
Return to top
Show: