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 對應屬性。