Adds an event and its parameters to the RUNTIMECLASSINFOAUTHOR.
Visual Basic Syntax
oRuntimeClassInfoAuthor.ShowEvent
sEventName, [sParameters], [nOptional], [sDocumentation]
Parameters
oRuntimeClassInfoAuthor
Name of a RuntimeClassInfoAuthor object.
sMethodName
Name of the method.
sParameters
List of the parameters of the event separated by commas.
nOptional
Number of optional parameters.
sDocumentation
Description of this event.
Visual C++ Syntax
HRESULT ShowEvent(BSTR
bstrEventName, VARIANT
bstrParameterNames, VARIANT
varOptionalParameters, VARIANT
varDocumentation);
Parameters
bstrEventName
Name of the event.
bstrParameters
List of the parameters of the event separated by commas.
varOptionalParameters
Number of optional parameters.
varDocumentation
Description of this event.
Return Values
The return value obtained from HRESULT is one of the following:
Return Value | Meaning |
S_OK | The event was added. |
E_FAIL | The event was not added. |
Applies to IRuntimeClassInfoAuthor Interface