Visual Basic (Declaration) | |
---|---|
<WebSysDescriptionAttribute("Fires when the page is unloaded.")> Public Event Unload As System.EventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As WebInput Dim handler As System.EventHandler AddHandler instance.Unload, handler |
C# | |
---|---|
[WebSysDescriptionAttribute("Fires when the page is unloaded.")] public event System.EventHandler Unload |
Delphi | |
---|---|
public event Unload: System.EventHandler; |
JScript | |
---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. |
Managed Extensions for C++ | |
---|---|
[WebSysDescriptionAttribute("Fires when the page is unloaded.")] public: __event System.EventHandler* Unload |
C++/CLI | |
---|---|
[WebSysDescriptionAttribute("Fires when the page is unloaded.")] public: event System.EventHandler^ Unload |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2