Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the time of the last change to the specified file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Public Overridable Function GetFileLastChangeTime ( _
wszFilename As String, _
<OutAttribute> pFileTime As FILETIME() _
) As Integer
public virtual int GetFileLastChangeTime(
string wszFilename,
FILETIME[] pFileTime
)
public:
virtual int GetFileLastChangeTime(
[InAttribute] String^ wszFilename,
[OutAttribute] array<FILETIME>^ pFileTime
)
abstract GetFileLastChangeTime :
wszFilename:string *
pFileTime:FILETIME[] byref -> int
override GetFileLastChangeTime :
wszFilename:string *
pFileTime:FILETIME[] byref -> int
public function GetFileLastChangeTime(
wszFilename : String,
pFileTime : FILETIME[]
) : int
Parameters
wszFilename
Type: String[in] The filename of the file for which to find the last change time.
pFileTime
Type: array<Microsoft.VisualStudio.OLE.Interop.FILETIME[][out] The time of the last change to the specified file. If the file is open in memory, returns the time of the last edit as reported by IVsLastChangeTimeProvider::GetLastChangeTime on the open document. If the file is not open, returns the last change time of the file on disk.
Return Value
Type: Int32
Returns S_OK if the method is successful, E_FAIL if the method fails.
Implements
IVsMSBuildTaskFileManager.GetFileLastChangeTime(String, array<FILETIME[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.