|Manuals

IJSObjects::Add Method

Description

This method creates and adds a new object to the collection.

Syntax

[id(0x000000CD)]
HRESULT _stdcall Add([in] BSTR Id, [out, retval] IJSObject** Value);

Parameters

Parameter Type Description
Id BSTR “Object name”
Value IJSObject** “Returns the newly created object”

Return Value

HRESULT indicating success or failure of the operation.

See Also

  • Group: IJSObjects Methods
  • Interface: IJSObjects