Skip to content

JsGetIndexedProperty

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

Retrieve the value at the specified index of an object.

Syntax

STDAPI_(JsErrorCode)
    JsGetIndexedProperty(
    _In_ JsValueRef object,
    _In_ JsValueRef index,
    _Out_ JsValueRef *result);

Parameters

  • object: The object to operate on.
  • index: The index to retrieve.
  • result: The retrieved value.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally