跳转到主要内容
如果许可证有绝对或相对的时间限制,此方法将返回其失效日期。

语法

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

参数

Year [out] 指向 int 变量的指针,用于接收到期的年份;如果未使用时间限制,则接收 0。 Month [out] 指向 int 变量的指针,用于接收到期的月份;如果未使用时间限制,则接收 0。 Day [out] 指向 int 变量的指针,用于接收到期的日期;如果未使用时间限制,则接收 0。 HasTimeLimitation [out, retval] 指向 bool 变量的指针,用于接收一个标志,指示是否使用了时间限制。

返回值

此方法没有特定返回值。它会返回 ABBYY FineReader Engine 函数的标准返回值

另请参阅

License IEngine::SetCurrentLicense