FileNode.RenameInStorage Method

Renames the file on disk. Should be overridden for files that are not saved to disk.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Overridable Sub RenameInStorage ( _
    oldName As String, _
    newName As String _
)
'使用
Dim oldName As String
Dim newName As String

Me.RenameInStorage(oldName, newName)
protected virtual void RenameInStorage(
    string oldName,
    string newName
)
protected:
virtual void RenameInStorage(
    String^ oldName, 
    String^ newName
)
protected function RenameInStorage(
    oldName : String, 
    newName : String
)

Parameters

Remarks

Should be overridden for files that are not saved to disk.

Permissions

See Also

Reference

FileNode Class

FileNode Members

Microsoft.VisualStudio.Package Namespace