语法
C++
C#
Visual Basic .NET
参数
int 变量的指针,用于接收到期的年份;如果未使用时间限制,则接收 0。
Month
[out] 指向 int 变量的指针,用于接收到期的月份;如果未使用时间限制,则接收 0。
Day
[out] 指向 int 变量的指针,用于接收到期的日期;如果未使用时间限制,则接收 0。
HasTimeLimitation
[out, retval] 指向 bool 变量的指针,用于接收一个标志,指示是否使用了时间限制。
HRESULT ExpirationDate(
int* Year,
int* Month,
int* Day,
VARIANT_BOOL* HasTimeLimitation
);
bool ExpirationDate(
out int Year,
out int Month,
out int Day
);
Function ExpirationDate( _
ByRef Year As Integer, _
ByRef Month As Integer, _
ByRef Day As Integer _
) As Boolean
int 变量的指针,用于接收到期的年份;如果未使用时间限制,则接收 0。
Month
[out] 指向 int 变量的指针,用于接收到期的月份;如果未使用时间限制,则接收 0。
Day
[out] 指向 int 变量的指针,用于接收到期的日期;如果未使用时间限制,则接收 0。
HasTimeLimitation
[out, retval] 指向 bool 变量的指针,用于接收一个标志,指示是否使用了时间限制。
此页面对您有帮助吗?