共用方式為


OracleMonthSpan.GreaterThan(OracleMonthSpan, OracleMonthSpan) 方法

定義

比較 OracleMonthSpan 的兩個執行個體,判斷第一個執行個體是否大於第二個。

public:
 static System::Data::OracleClient::OracleBoolean GreaterThan(System::Data::OracleClient::OracleMonthSpan x, System::Data::OracleClient::OracleMonthSpan y);
public static System.Data.OracleClient.OracleBoolean GreaterThan (System.Data.OracleClient.OracleMonthSpan x, System.Data.OracleClient.OracleMonthSpan y);
static member GreaterThan : System.Data.OracleClient.OracleMonthSpan * System.Data.OracleClient.OracleMonthSpan -> System.Data.OracleClient.OracleBoolean
Public Shared Function GreaterThan (x As OracleMonthSpan, y As OracleMonthSpan) As OracleBoolean

參數

傳回

OracleBoolean,如果第一個執行個體大於第二個執行個體,則為 True,否則為 False。 如果 OracleMonthSpan 的任一執行個體是 Null,則 ValueOracleBoolean 會是 Null

適用於