System 2.0.0.0 4.0.0.0 System.ComponentModel.CancelEventArgs

The class provides data for the event, which signals that the value of an application settings property is about to change. The most common source for this event is the get accessor of the method in the class.

Because is derived from , the handler has the option of canceling the write operation.

Provides data for the event.

- Constructor
  2.0.0.0
  4.0.0.0

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

  Initializes an instance of the class.

  A containing the name of the application setting.
  A containing a category description of the setting. Often this parameter is set to the application settings group name.
  A containing the application settings key.
  An that contains the new value to be assigned to the application settings property.
  true to cancel the event; otherwise, false.
- Property
  2.0.0.0
  4.0.0.0
  System.Object To be added.

  The actual type of the property should be compatible with the settings property being set. The latter is available though the property of the class.

  Gets the new value being assigned to the application settings property.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  All application settings belong to a application settings group. The group name can be explicitly supplied by decorating the class with a ; otherwise, one is generated using the name of the settings wrapper class.

  Gets the application settings property category.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  Each settings wrapper class, derived from , has an associated settings key, which is a string that helps disambiguate different instances of the same wrapper in a single application. Because each wrapper class defines a set of properties that represent application settings, the settings key can similarly help disambiguate their use.

  Gets the application settings key associated with the property.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  Typically the settings wrapper class, derived from , will be constructed so that the name of the application settings property will be the same as its associated application setting.

  Gets the name of the application setting associated with the application settings property.