MSDN Library

raiseEvent method

[This documentation is preliminary and is subject to change.]

Triggers an event, as specified.

Syntax


HRESULT retVal = object.raiseEvent(name, eventData);

Standards information

There are no standards that apply here.

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.

 

 

Build date: 6/12/2012

Community Additions

Show:
© 2016 Microsoft