HtmlElement.RaiseEvent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.