Export (0) Print
Expand All

SystemEvents.UserPreferenceChanging Event

Occurs when a user preference is changing.

[Visual Basic]
Public Shared Event UserPreferenceChanging As _
   UserPreferenceChangingEventHandler
[C#]
public static event UserPreferenceChangingEventHandler
   UserPreferenceChanging;
[C++]
public: static __event UserPreferenceChangingEventHandler*
   UserPreferenceChanging;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type UserPreferenceChangingEventArgs containing data related to this event. The following UserPreferenceChangingEventArgs property provides information specific to this event.

Property Description
Category Gets the category of user preferences that is changing.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemEvents Class | SystemEvents Members | Microsoft.Win32 Namespace | UserPreferenceChangingEventArgs | UserPreferenceChangingEventHandler | UserPreferenceCategory

Show:
© 2014 Microsoft