Edit

Share via


SqlSingle.ToSqlByte Method

Definition

Converts this SqlSingle structure to SqlByte.

public:
 System::Data::SqlTypes::SqlByte ToSqlByte();
public System.Data.SqlTypes.SqlByte ToSqlByte ();
member this.ToSqlByte : unit -> System.Data.SqlTypes.SqlByte
Public Function ToSqlByte () As SqlByte

Returns

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.

Applies to

See also