IPath.FileName Property
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 the name of the file or directory denoted by this path as a Path object.
public Java.Nio.FileNio.IPath? FileName { [Android.Runtime.Register("getFileName", "()Ljava/nio/file/Path;", "GetGetFileNameHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getFileName", "()Ljava/nio/file/Path;", "GetGetFileNameHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.FileName : Java.Nio.FileNio.IPath
Property Value
a path representing the name of the file or directory, or null if this path has zero elements
- Attributes
Remarks
Returns the name of the file or directory denoted by this path as a Path object. The file name is the farthest element from the root in the directory hierarchy.
Java reference for java.nio.file.Path.getFileName.
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.