Skip to content

JsCreateSymbol

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

Creates a Javascript symbol.

Syntax

STDAPI_(JsErrorCode)
    JsCreateSymbol(
    _In_ JsValueRef description,
    _Out_ JsValueRef *result);

Parameters

  • description: The string description of the symbol. Can be null.
  • result: The new symbol.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally