跳轉到主要內容
如果授權有絕對或相對的時間限制,此方法會傳回授權失效的日期。

語法

C++

HRESULT ExpirationDate(
  int*          Year,
  int*          Month,
  int*          Day,
  VARIANT_BOOL* HasTimeLimitation
);

C#

bool ExpirationDate(
  out int Year,
  out int Month,
  out int Day
);

Visual Basic .NET

Function ExpirationDate( _
  ByRef Year As Integer, _
  ByRef Month As Integer, _
  ByRef Day As Integer _
) As Boolean

參數

年度 [out] 指向 int 變數的指標,用來接收到期年份;如果未使用時間限制,則為 0。 Month [out] 指向 int 變數的指標,用來接收到期月份;如果未使用時間限制,則為 0。 Day [out] 指向 int 變數的指標,用來接收到期日;如果未使用時間限制,則為 0。 HasTimeLimitation [out, retval] 指向 bool 變數的指標,用來接收表示是否使用時間限制的旗標。

回傳值

這個方法沒有特定的回傳值。它會回傳 ABBYY FineReader Engine 函式的標準回傳值

另請參閱

授權 IEngine::SetCurrentLicense