SqlDouble.LessThanOrEqual(SqlDouble, SqlDouble) 方法

定義

比較 SqlDouble 的兩個執行個體,判斷第一個執行個體是否小於或等於第二個。Compares two instances of SqlDouble to determine whether the first is less than or equal to the second.

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

參數

x
SqlDouble

SqlDouble 結構。A SqlDouble structure.

y
SqlDouble

SqlDouble 結構。A SqlDouble structure.

傳回

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

適用於

另請參閱