Context.FilesDir Property

Definition

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

C#
public abstract Java.IO.File? FilesDir { [Android.Runtime.Register("getFilesDir", "()Ljava/io/File;", "GetGetFilesDirHandler")] get; }

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

See also

  • <xref:Android.Content.Context.OpenFileOutput(System.String%2c+Android.Content.FileCreationMode)>
  • GetFileStreamPath(String)
  • <xref:Android.Content.Context.GetDir(System.String%2c+Android.Content.FileCreationMode)>