共用方式為


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

已變更成員的新值。

備註

元件的設計工具會在變更元件的 屬性之後呼叫這個建構函式。 這可確保 屬性視窗 會顯示屬性的更新值。

適用於

另請參閱