共用方式為


ContextWrapper.FilesDir Property

Definition

Returns the absolute path to the directory on the filesystem where files created with OpenFileOutput(String, FileCreationMode) are stored.

public override Java.IO.File? FilesDir { [Android.Runtime.Register("getFilesDir", "()Ljava/io/File;", "GetGetFilesDirHandler")] get; }
[<get: Android.Runtime.Register("getFilesDir", "()Ljava/io/File;", "GetGetFilesDirHandler")>]
member this.FilesDir : Java.IO.File

Property Value

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.

Applies to