共用方式為


MockContext.GetFileStreamPath(String) Method

Definition

Returns the absolute path on the filesystem where a file created with OpenFileOutput(String, FileCreationMode) is stored.

[Android.Runtime.Register("getFileStreamPath", "(Ljava/lang/String;)Ljava/io/File;", "GetGetFileStreamPath_Ljava_lang_String_Handler")]
public override Java.IO.File? GetFileStreamPath (string? name);
[<Android.Runtime.Register("getFileStreamPath", "(Ljava/lang/String;)Ljava/io/File;", "GetGetFileStreamPath_Ljava_lang_String_Handler")>]
override this.GetFileStreamPath : string -> Java.IO.File

Parameters

name
String

The name of the file for which you would like to get its path.

Returns

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