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
file
Type: System.StringName of the file
Return Value
Type: System.DateTime
the last write time of the file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.