|Manuals

IJSProperties::Add Method

Description

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

Syntax

[id(0x000000CD)]
HRESULT _stdcall Add([in] BSTR Name, [out, retval] IJSProperty** OutRetVal);

Parameters

Parameter Type Direction Description
Name BSTR Input “Property name.”
OutRetVal IJSProperty** Output/Return “Returns the newly created property.”

Return Value

Returns an IJSProperty interface pointer representing the newly instantiated property object.

See Also

  • IJSProperties Methods
  • IJSProperty Interface