ComponentDesigner.RaiseComponentChanging(MemberDescriptor) 方法

定义

通知 IComponentChangeService 此组件即将被更改。Notifies the IComponentChangeService that this component is about to be changed.

protected:
 void RaiseComponentChanging(System::ComponentModel::MemberDescriptor ^ member);
protected void RaiseComponentChanging (System.ComponentModel.MemberDescriptor member);
member this.RaiseComponentChanging : System.ComponentModel.MemberDescriptor -> unit
Protected Sub RaiseComponentChanging (member As MemberDescriptor)

参数

member
MemberDescriptor

指示即将被更改的成员的 MemberDescriptorA MemberDescriptor that indicates the member that is about to be changed.

注解

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

适用于

另请参阅