SqlSingle.LessThanOrEqual(SqlSingle, SqlSingle) 方法

定義

執行兩個 SqlSingle 參數的邏輯比對,以判斷第一個參數是否小於或等於第二個。Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second.

public:
 static System::Data::SqlTypes::SqlBoolean LessThanOrEqual(System::Data::SqlTypes::SqlSingle x, System::Data::SqlTypes::SqlSingle y);
public static System.Data.SqlTypes.SqlBoolean LessThanOrEqual (System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y);
static member LessThanOrEqual : System.Data.SqlTypes.SqlSingle * System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlBoolean
Public Shared Function LessThanOrEqual (x As SqlSingle, y As SqlSingle) As SqlBoolean

參數

x
SqlSingle

SqlSingle 結構。A SqlSingle structure.

y
SqlSingle

SqlSingle 結構。A SqlSingle structure.

傳回

如果第一個執行個體小於或等於第二個執行個體,則 SqlBooleanTrueA SqlBoolean that is True if the first instance is less than or equal to the second instance. 否則為 FalseOtherwise, False. 如果 SqlSingle 的任一執行個體是 null,則 ValueSqlBoolean 會是 NullIf either instance of SqlSingle is null, the Value of the SqlBoolean will be Null.

適用於

另請參閱