SqlByte.ToSqlBoolean SqlByte.ToSqlBoolean SqlByte.ToSqlBoolean SqlByte.ToSqlBoolean Method

定义

将此 SqlByte 结构转换为 SqlBooleanConverts this SqlByte structure to SqlBoolean.

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

返回

如果 Value 不是零,则为 true;如果为零,则为 false;否则为 Null。true if the Value is non-zero; false if zero; otherwise Null.

适用于

另请参阅