Udostępnij za pośrednictwem


TimeHelpers.ToComFileTime Method (DateTime)

 

Converts a DateTime object as local time to a COM FILETIME object. For UTC conversion, use ToComFileTime(DateTime, Boolean).

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static FILETIME ToComFileTime(
    this DateTime dateTime
)
public:
[ExtensionAttribute]
static FILETIME ToComFileTime(
    DateTime dateTime
)
<ExtensionAttribute>
Public Shared Function ToComFileTime (
    dateTime As Date
) As FILETIME

Parameters

Return Value

Type: System.Runtime.InteropServices.ComTypes.FILETIME

See Also

ToComFileTime Overload
TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top