ChangeNotificationService::RenameElement Method (CodeElement^, String^)
Visual Studio 2015
Renames the element
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- element
-
Type:
EnvDTE::CodeElement^
An instance of a CodeElement.
- newName
-
Type:
System::String^
The new proposed name.
Return Value
Type: System::BooleanWhen implemented by derived classes, true if it was possible to rename the element, otherwise false.
By default this method does nothing and returns false.
Show: