|  | This document is archived and information here might be outdated. Recommended version. | 
[Visual Basic .NET]
Public Sub RenameFolder ( _
    ByVal OldName As String, _
    ByVal newName As String _
)
[C#]
public void RenameFolder (
    string OldName,
    string newName
);
[C++]
HRESULT RenameFolder(
  BSTR OldName,
  BSTR newName
);
[C++] Parameters OldName [in]
OldName is a parameter of type BSTR newName [in]
newName is a parameter of type BSTR