共用方式為


SYSTEMTIME Structure

Represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Public Structure SYSTEMTIME
'用途
Dim instance As SYSTEMTIME
public struct SYSTEMTIME
public value class SYSTEMTIME
JScript supports the use of structures, but not the declaration of new ones.

Remarks

It is recommended that you not add and subtract values from the SYSTEMTIME structure to obtain relative times. Instead, you should

  • Convert the SYSTEMTIME structure to a FILETIME structure.

  • Copy the resulting FILETIME structure to a ULARGE_INTEGER structure.

  • Use normal 64-bit arithmetic on the ULARGE_INTEGER value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SYSTEMTIME Members

Microsoft.VisualStudio.Shell.Interop Namespace