Dela via


JsGetExternalData Function

Retrieves the data from an external object.

Syntax

STDAPI_(JsErrorCode) JsGetExternalData(  
   _In_ JsValueRef object,  
   _Out_ void **externalData  
);  

Parameters

object
The external object.

externalData
The external data stored in the object. Can be null if no external data is stored in the object.

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)