ShowMethod Method

Adds a method and its parameters.

Visual Basic Syntax

oRuntimeClassInfoAuthor.ShowMethod sMethodName, [sParameters], [nOptional], [sDocumentation]

Parameters

oRuntimeClassInfoAuthor

Name of a RuntimeClassInfoAuthor object.

sMethodName

Name of the method.

sParameters

List of the parameters of the method separated by commas.

nOptional

Number of optional parameters.

sDocumentation

Description of this method.

Visual C++ Syntax

HRESULT ShowMethod(BSTR bstrMethodName, VARIANT bstrParameterNames, VARIANT varOptionalParameters, VARIANT varDocumentation);

Parameters

bstrMethodName

Name of the method.

bstrParameters

List of the parameters of the method separated by commas.

varOptionalParameters

Number of optional parameters.

varDocumentation

Description of this method.

Return Values

The return value obtained from HRESULT is one of the following:

Return Value Meaning
S_OK

The method was added.

E_FAIL

The method was not added.


Applies to   IRuntimeClassInfoAuthor Interface