Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsGetOwnPropertyDescriptor

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

Gets a property descriptor for an object's own property.

Syntax

STDAPI_(JsErrorCode)
    JsGetOwnPropertyDescriptor(
    _In_ JsValueRef object,
    _In_ JsPropertyIdRef propertyId,
    _Out_ JsValueRef *propertyDescriptor);

Parameters

  • object: The object that has the property.
  • propertyId: The ID of the property.
  • propertyDescriptor: The property descriptor.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.