File.CanonicalFile 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 canonical form of this abstract pathname.
public virtual Java.IO.File CanonicalFile { [Android.Runtime.Register("getCanonicalFile", "()Ljava/io/File;", "GetGetCanonicalFileHandler")] get; }
[<get: Android.Runtime.Register("getCanonicalFile", "()Ljava/io/File;", "GetGetCanonicalFileHandler")>]
member this.CanonicalFile : Java.IO.File
Property Value
The canonical pathname string denoting the same file or directory as this abstract pathname
- Attributes
Exceptions
if an I/O error occurs.
Remarks
Returns the canonical form of this abstract pathname. Equivalent to new File(this.{@link #getCanonicalPath})
.
Added in 1.2.
Java documentation for java.io.File.getCanonicalFile()
.
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.