Compartilhar via


JsGetExtensionAllowed Function

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.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)