Share via


raiseEvent method

Triggers an event, as specified.

Syntax

var retval = external.raiseEvent(name, eventData);

Parameters

  • name [in]
    Type: BSTR

    Specifies a valid event name as a string.

  • eventData [in]
    Type: VARIANT

    Specifies event data.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

external