Indicate to the sender that the current item should be renamed.

Namespace:  Rebex.IO
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub Rename ( _
	newName As String _
)
C#
public void Rename(
	string newName
)

Parameters

newName
Type: System..::..String
New name of the item or null (Nothing in Visual Basic) to use generated name according the pattern "filename[number].extension".

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also