HtmlElement.RaiseEvent Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Causes the named event to call all registered event handlers.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void RaiseEvent(
	string eventName
)

Parameters

eventName
Type: System.String

The name of the event to raise.

This method is used to access HTML Document Object Model (DOM) events. It directly calls the IHTMLElement3::fireEvent method. For more information about how to use the DOM through the HtmlElement class, see Accessing Unexposed Members on the Managed HTML Document Object Model.

.NET Framework
Available since 2.0
Return to top
Show: