共用方式為


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

元件的新名稱。

適用於

另請參閱