JsGetOwnPropertyDescriptor() 개인적인 메소드

private JsGetOwnPropertyDescriptor ( IeJsValue obj, IeJsPropertyId propertyId, IeJsValue &propertyDescriptor ) : JsErrorCode
obj IeJsValue
propertyId IeJsPropertyId
propertyDescriptor IeJsValue
리턴 JsErrorCode
예제 #1
0
        /// <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);
        }