Files.GetLastModifiedTime(IPath, LinkOption[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a file's last modified time.
[Android.Runtime.Register("getLastModifiedTime", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;", "", ApiSince=26)]
public static Java.Nio.FileNio.Attributes.FileTime? GetLastModifiedTime (Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("getLastModifiedTime", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;", "", ApiSince=26)>]
static member GetLastModifiedTime : Java.Nio.FileNio.IPath * Java.Nio.FileNio.LinkOption[] -> Java.Nio.FileNio.Attributes.FileTime
Parameters
- path
- IPath
the path to the file
- options
- LinkOption[]
options indicating how symbolic links are handled
Returns
a FileTime
representing the time the file was last
modified, or an implementation specific default when a time
stamp to indicate the time of last modification is not supported
by the file system
- Attributes
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.