HtmlElement::RaiseEvent Method (String^)

 

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: