Os.Rename(String, String) Method
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.
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
The current path of the file-system entry.
- newPath
- String
The destination path for the renamed entry.
- 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.