SqlSingle.GreaterThan(SqlSingle, SqlSingle) 運算子

定義

執行兩個 SqlSingle 運算元的邏輯比對,判斷第一個運算元是否大於第二個。Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second.

public:
 static System::Data::SqlTypes::SqlBoolean operator >(System::Data::SqlTypes::SqlSingle x, System::Data::SqlTypes::SqlSingle y);
public static System.Data.SqlTypes.SqlBoolean operator > (System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y);
static member ( > ) : System.Data.SqlTypes.SqlSingle * System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator > (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 greater than the second instance. 否則為 FalseOtherwise, False. 如果 SqlSingle 的任一執行個體是 null,則 ValueSqlBoolean 會是 NullIf either instance of SqlSingle is null, the Value of the SqlBoolean will be Null.

備註

這個運算子的對等方法是SqlSingle.GreaterThanThe equivalent method for this operator is SqlSingle.GreaterThan.

適用於

另請參閱