다음을 통해 공유


JsGetSymbolFromPropertyId Function

Gets the symbol associated with the property ID.

Syntax

STDAPI_(JsErrorCode) JsGetSymbolFromPropertyId(  
   _In_ JsPropertyIdRef propertyId,  
   _Out_ JsValueRef *symbol  
);  

Parameters

propertyId
The property ID to get the symbol of.

symbol
The symbol associated with the property ID.

Return Value

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

Remarks

Requires an active script context.

This API is supported only in Microsoft Edge mode.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)