Dynamicweb 8 Documentation
RenameFile Method

Current file.
New name of the current file.
Renames the current file.
Syntax
'Declaration
 
Public Shared Function RenameFile( _ 
   ByVal File As String, _ 
   ByVal NewName As String _ 
) As OperationReport
public static OperationReport RenameFile( 
   string File,
   string NewName 
)

Parameters

File
Current file.
NewName
New name of the current file.

Return Value

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FilesAndFolders Class
FilesAndFolders Members

Send Feedback