'Declaration
<ExtensionAttribute()> Public Shared Sub Rename( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal newFileName As String _ )
'Usage
Dim writableFileInfo As IWritableFileInfo Dim newFileName As String IWritableFileInfoExtension.Rename(writableFileInfo, newFileName)
[Extension()] public static void Rename( IWritableFileInfo writableFileInfo, string newFileName )
[Extension()] public: static void Rename( IWritableFileInfo^ writableFileInfo, String^ newFileName )
Parameters
- writableFileInfo
- The writable file info object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - newFileName
- New name of file.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).