Renames the ProjectElement object.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub Rename ( _
newPath As String _
)
'使用
Dim instance As ProjectElement
Dim newPath As String
instance.Rename(newPath)
public void Rename(
string newPath
)
public:
void Rename(
String^ newPath
)
public function Rename(
newPath : String
)
Parameters
newPath
Type: System.StringString containing the path for the item to be renamed.
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.