SqlDouble.GreaterThan(SqlDouble, SqlDouble) SqlDouble.GreaterThan(SqlDouble, SqlDouble) SqlDouble.GreaterThan(SqlDouble, SqlDouble) SqlDouble.GreaterThan(SqlDouble, SqlDouble) Method

定義

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

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

參數

傳回

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

適用於

另請參閱