Skip to content

JsHasIndexedProperty

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

Tests whether an object has a value at the specified index.

Syntax

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

Parameters

  • object: The object to operate on.
  • index: The index to test.
  • result: Whether the object has an value at the specified index.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally