Sdílet prostřednictvím


JsConvertValueToString Function

Converts the value to string using standard JavaScript semantics.

Syntax

STDAPI_(JsErrorCode) JsConvertValueToString(  
   _In_ JsValueRef value,  
   _Out_ JsValueRef *stringValue  
);  

Parameters

value
The value to be converted.

stringValue
The converted value.

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)