ComponentDesigner.RaiseComponentChanged(MemberDescriptor, Object, Object) 方法

定义

通知 IComponentChangeService 此组件已被更改。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);
member this.RaiseComponentChanged : System.ComponentModel.MemberDescriptor * obj * obj -> unit
Protected Sub RaiseComponentChanged (member As MemberDescriptor, oldValue As Object, newValue As Object)

参数

member
MemberDescriptor

指示已更改的成员的 MemberDescriptorA 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.

注解

仅当直接影响组件属性而不是通过 MemberDescriptor提供的访问器时,才调用此方法。Call this method only when you affect component properties directly and not through the accessors provided by MemberDescriptor.

适用于

另请参阅