ComponentChangedEventArgs(Object, MemberDescriptor, Object, Object) 构造函数

定义

初始化 ComponentChangedEventArgs 类的新实例。

public:
 ComponentChangedEventArgs(System::Object ^ component, System::ComponentModel::MemberDescriptor ^ member, System::Object ^ oldValue, System::Object ^ newValue);
public ComponentChangedEventArgs (object component, System.ComponentModel.MemberDescriptor member, object oldValue, object newValue);
public ComponentChangedEventArgs (object? component, System.ComponentModel.MemberDescriptor? member, object? oldValue, object? newValue);
new System.ComponentModel.Design.ComponentChangedEventArgs : obj * System.ComponentModel.MemberDescriptor * obj * obj -> System.ComponentModel.Design.ComponentChangedEventArgs
Public Sub New (component As Object, member As MemberDescriptor, oldValue As Object, newValue As Object)

参数

component
Object

已更改的组件。

member
MemberDescriptor

表示已更改的成员的 MemberDescriptor

oldValue
Object

已更改成员的旧值。

newValue
Object

已更改成员的新值。

注解

组件的设计器在更改组件的属性后调用此构造函数。 这可确保属性窗口将显示属性的更新值。

适用于

另请参阅