Page tree
Skip to end of metadata
Go to start of metadata

void FB::JSAPI::SetProperty ( int  idx,
const variant value 
)
pure virtual

Sets the value of an indexed property.

This can be used for providing array-style access on your object. For example, the following will result in a call to SetProperty with idx = 12:

document.getElementById("plugin")[12] = "property value";
Parameters
idxZero-based index of the property to set the value of.
valueThe new property value.

Implemented in FB::JSAPIAuto, FB::JSAPIProxy, FB::JSAPISimple, FB::ActiveX::IDispatchAPI, and FB::Npapi::NPObjectAPI.

  • No labels