Redigera

Dela via


ComponentRenameEventArgs(Object, String, String) Constructor

Definition

Initializes a new instance of the ComponentRenameEventArgs class.

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)

Parameters

component
Object

The component to be renamed.

oldName
String

The old name of the component.

newName
String

The new name of the component.

Applies to

See also