CodeDomDesignerLoader.OnComponentRename(Object, String, String) 方法

定义

引发 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)

参数

component
Object

要重命名的组件。

oldName
String

组件的原始名称。

newName
String

组件的新名称。

适用于