Skip to content

JsSetIndexedProperty

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Set the value at the specified index of an object.

Syntax

STDAPI_(JsErrorCode)
    JsSetIndexedProperty(
    _In_ JsValueRef object,
    _In_ JsValueRef index,
    _In_ JsValueRef value);

Parameters

  • object: The object to operate on.
  • index: The index to set.
  • value: The value to set.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Clone this wiki locally