File.SetLastModified(Int64) File.SetLastModified(Int64) Method

Definition

Sets the time this file was last modified, measured in milliseconds since January 1st, 1970, midnight.

[Android.Runtime.Register("setLastModified", "(J)Z", "GetSetLastModified_JHandler")]
public virtual bool SetLastModified (long time);
abstract member SetLastModified : int64 -> bool
override this.SetLastModified : int64 -> bool

Parameters

time
Int64 Int64

the last modification time for this file.

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to