CodeDomDesignerLoader.OnComponentRename(Object, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the ComponentRename event.
protected:
virtual void OnComponentRename(System::Object ^ component, System::String ^ oldName, System::String ^ newName);
protected virtual void OnComponentRename (object component, string oldName, string newName);
protected virtual void OnComponentRename (object component, string? oldName, string? newName);
override this.OnComponentRename : obj * string * string -> unit
abstract member OnComponentRename : obj * string * string -> unit
override this.OnComponentRename : obj * string * string -> unit
Protected Overridable Sub OnComponentRename (component As Object, oldName As String, newName As String)
Parameters
- component
- Object
The component to rename.
- oldName
- String
The original name of the component.
- newName
- String
The new name of the component.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.