Επεξεργασία

Κοινή χρήση μέσω


ComponentDesigner.RaiseComponentChanged Method

Definition

Notifies the IComponentChangeService that this component has been changed.

protected:
 void RaiseComponentChanged(System::ComponentModel::MemberDescriptor ^ member, System::Object ^ oldValue, System::Object ^ newValue);
protected void RaiseComponentChanged (System.ComponentModel.MemberDescriptor member, object oldValue, object newValue);
protected void RaiseComponentChanged (System.ComponentModel.MemberDescriptor? member, object? oldValue, object? newValue);
member this.RaiseComponentChanged : System.ComponentModel.MemberDescriptor * obj * obj -> unit
Protected Sub RaiseComponentChanged (member As MemberDescriptor, oldValue As Object, newValue As Object)

Parameters

member
MemberDescriptor

A MemberDescriptor that indicates the member that has been changed.

oldValue
Object

The old value of the member.

newValue
Object

The new value of the member.

Remarks

Call this method only when you affect component properties directly and not through the accessors provided by MemberDescriptor.

Applies to

See also