Partager via


ZipArchiveEntry.LastWriteTime Property

The last write time of the entry as stored in the Zip archive. When setting this property, the DateTime will be converted to the Zip timestamp format, which supports a resolution of two seconds. If the data in the last write time field is not a valid Zip timestamp, an indicator value of 1980 January 1 at midnight will be returned.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Property LastWriteTime As DateTimeOffset
public DateTimeOffset LastWriteTime { get; set; }
public:
property DateTimeOffset LastWriteTime {
    DateTimeOffset get ();
    void set (DateTimeOffset value);
}
member LastWriteTime : DateTimeOffset with get, set
function get LastWriteTime () : DateTimeOffset 
function set LastWriteTime (value : DateTimeOffset)

Property Value

Type: System.DateTimeOffset

.NET Framework Security

See Also

Reference

ZipArchiveEntry Class

Microsoft.TeamFoundation.Server.Core Namespace