Skip to content

JsGetExtensionAllowed

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

Returns a value that indicates whether an object is extensible or not.

Syntax

STDAPI_(JsErrorCode)
    JsGetExtensionAllowed(
    _In_ JsValueRef object,
    _Out_ bool *value);

Parameters

  • object: The object to test.
  • value: Whether the object is extensible or not.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally