SettingChangingEventArgs(String, String, String, Object, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an instance of the SettingChangingEventArgs class.
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)
Parameters
- settingClass
- String
A String containing a category description of the setting. Often this parameter is set to the application settings group name.
- newValue
- Object
An Object that contains the new value to be assigned to the application settings property.
- cancel
- Boolean
true
to cancel the event; otherwise, false
.
Remarks
The SettingChangingEventArgs constructor just assigns the values of the parameters to the corresponding properties in the SettingChangingEventArgs class.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour