IJSMethods::Add Method

Adds a new method to the collection.

IDL

[id(0x000000CD)]

HRESULT _stdcall Add([in] BSTR Name, [out, retval] IJSMethod** OutRetVal);

Parameters

Parameters

Description

[in] BSTR Name

Method name.

[out, retval] IJSMethod** OutRetVal

Returns the newly created method.

Group

IJSMethods Methods