Rename Method
Renames the specified document in the document library.
Syntax
[VB.NET] Public Sub Rename(ByVal DocumentName As String, ByVal NewName As String)
[C#] public void Rename(string documentName, string newName);
Remarks
The specified DocumentName will be renamed to NewName in the specified document library after a call to this method.
NOTE: This method has a corresponding asynchronous version (RenameAsync) for use in the WinRT environment.