Skip to content

JsGetOwnPropertyNames

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

Gets the list of all properties on the object.

Syntax

STDAPI_(JsErrorCode) JsGetOwnPropertyNames( _In_ JsValueRef object, _Out_ JsValueRef *propertyNames); 

Parameters

  • object: The object from which to get the property names.
  • propertyNames: An array of property names.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally