Partager via


Os.Rename(String, String) Method

Definition

See rename(2).

[Android.Runtime.Register("rename", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public static void Rename (string? oldPath, string? newPath);
[<Android.Runtime.Register("rename", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
static member Rename : string * string -> unit

Parameters

oldPath
String
newPath
String
Attributes

Exceptions

Remarks

See rename(2).

Java documentation for android.system.Os.rename(java.lang.String, java.lang.String).

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