SettingChangingEventArgs(String, String, String, Object, Boolean) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SettingChangingEventArgs 类的实例。
public:
SettingChangingEventArgs(System::String ^ settingName, System::String ^ settingClass, System::String ^ settingKey, System::Object ^ newValue, bool cancel);
public SettingChangingEventArgs (string settingName, string settingClass, string settingKey, object newValue, bool cancel);
new System.Configuration.SettingChangingEventArgs : string * string * string * obj * bool -> System.Configuration.SettingChangingEventArgs
Public Sub New (settingName As String, settingClass As String, settingKey As String, newValue As Object, cancel As Boolean)
参数
- cancel
- Boolean
如果为 true
,则取消事件;否则为 false
。
注解
构造 SettingChangingEventArgs 函数只是将参数的值分配给 类中的 SettingChangingEventArgs 相应属性。