Share via


JsGetPropertyIdType Function

Gets the type of property.

Syntax

STDAPI_(JsErrorCode) JsGetPropertyIdType(  
   _In_ JsPropertyIdRef propertyId,  
   _Out_ JsPropertyIdType* propertyIdType  
);  

Parameters

propertyId
The property ID to get the type of.

propertyIdType
The JsPropertyIdType of the given 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)