Compartir vía


CodeDomDesignerLoader.OnComponentRename(Object, String, String) Método

Definición

Genera el evento ComponentRename.

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)

Parámetros

component
Object

Componente al que se va a cambiar el nombre.

oldName
String

Nombre original del componente.

newName
String

Nombre nuevo del componente.

Se aplica a