private JsGetOwnPropertyDescriptor ( |
||
obj | ||
propertyId | IeJsPropertyId | |
propertyDescriptor | ||
리턴 | JsErrorCode |
/// <summary> /// Gets a property descriptor for an object's own property /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <param name="propertyId">The ID of the property</param> /// <returns>The property descriptor</returns> public IeJsValue GetOwnPropertyDescriptor(IeJsPropertyId propertyId) { IeJsValue descriptorReference; IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsGetOwnPropertyDescriptor(this, propertyId, out descriptorReference)); return(descriptorReference); }