Export (0) Print
Expand All

raiseEvent method

Triggers an event, as specified.

Syntax


HRESULT retVal = object.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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft