ComponentRenameEventArgs(Object, String, String) 构造函数

定义

初始化 ComponentRenameEventArgs 类的新实例。

public:
 ComponentRenameEventArgs(System::Object ^ component, System::String ^ oldName, System::String ^ newName);
public ComponentRenameEventArgs (object component, string oldName, string newName);
public ComponentRenameEventArgs (object? component, string? oldName, string? newName);
new System.ComponentModel.Design.ComponentRenameEventArgs : obj * string * string -> System.ComponentModel.Design.ComponentRenameEventArgs
Public Sub New (component As Object, oldName As String, newName As String)

参数

component
Object

要重命名的组件。

oldName
String

组件的旧名称。

newName
String

组件的新名称。

适用于

另请参阅