Compartir a través de


FlatTrackingData.GetLastWriteTimeUtc Method

Returns cached value for last write time of file. Updates the cache the first time the file is checked.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Function GetLastWriteTimeUtc ( _
    file As String _
) As DateTime
public DateTime GetLastWriteTimeUtc(
    string file
)
public:
DateTime GetLastWriteTimeUtc(
    String^ file
)
member GetLastWriteTimeUtc : 
        file:string -> DateTime
public function GetLastWriteTimeUtc(
    file : String
) : DateTime

Parameters

Return Value

Type: System.DateTime
the last write time of the file.

.NET Framework Security

See Also

Reference

FlatTrackingData Class

Microsoft.Build.Utilities Namespace