SettingChangingEventArgs Constructor (String^, String^, String^, Object^, Boolean)

 

Initializes an instance of the SettingChangingEventArgs class.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

public:
SettingChangingEventArgs(
	String^ settingName,
	String^ settingClass,
	String^ settingKey,
	Object^ newValue,
	bool cancel
)

Parameters

settingName
Type: System::String^

A String containing the name of the application setting.

settingClass
Type: System::String^

A String containing a category description of the setting. Often this parameter is set to the application settings group name.

settingKey
Type: System::String^

A String containing the application settings key.

newValue
Type: System::Object^

An Object that contains the new value to be assigned to the application settings property.

cancel
Type: System::Boolean

true to cancel the event; otherwise, false.

The SettingChangingEventArgs constructor just assigns the values of the parameters to the corresponding properties in the SettingChangingEventArgs class.

.NET Framework
Available since 2.0
Return to top
Show: