Редагувати

Поділитися через


HtmlElement.RaiseEvent(String) Method

Definition

Causes the named event to call all registered event handlers.

public:
 void RaiseEvent(System::String ^ eventName);
public void RaiseEvent (string eventName);
member this.RaiseEvent : string -> unit
Public Sub RaiseEvent (eventName As String)

Parameters

eventName
String

The name of the event to raise.

Remarks

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.

Applies to