共用方式為


IVsLastChangeTimeProvider.GetLastChangeTime Method

Gets the time of the last change.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Function GetLastChangeTime ( _
    <OutAttribute> pFileTime As FILETIME() _
) As Integer
'用途
Dim instance As IVsLastChangeTimeProvider
Dim pFileTime As FILETIME()
Dim returnValue As Integer

returnValue = instance.GetLastChangeTime(pFileTime)
int GetLastChangeTime(
    FILETIME[] pFileTime
)
int GetLastChangeTime(
    [OutAttribute] array<FILETIME>^ pFileTime
)
abstract GetLastChangeTime : 
        pFileTime:FILETIME[] byref -> int 
function GetLastChangeTime(
    pFileTime : FILETIME[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsLastChangeTimeProvider::GetLastChangeTime(
   [out] FILETIME *pFileTime
);

.NET Framework Security

See Also

Reference

IVsLastChangeTimeProvider Interface

IVsLastChangeTimeProvider Members

Microsoft.VisualStudio.TextManager.Interop Namespace