Renames the directory on disk for this node.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub RenameDirectory ( _
newPath As String _
)
'使用
Dim instance As FolderNode
Dim newPath As String
instance.RenameDirectory(newPath)
public virtual void RenameDirectory(
string newPath
)
public:
virtual void RenameDirectory(
String^ newPath
)
public function RenameDirectory(
newPath : String
)
Parameters
newPath
Type: System.StringThe new name of the directory.
Remarks
Override this method if your node does not use file system folder.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.