다음을 통해 공유


JsGetOwnPropertySymbols Function

Gets the list of all symbol properties on the object.

Syntax

STDAPI_(JsErrorCode) JsGetOwnPropertySymbols(  
   _In_ JsValueRef object,  
   _Out_ JsValueRef *propertySymbols  
);  

Parameters

object
The object from which to get the property symbols.

propertySymbols
An array of property symbols.

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)