JsGetOwnPropertyNames() 개인적인 메소드

private JsGetOwnPropertyNames ( IeJsValue obj, IeJsValue &propertyNames ) : JsErrorCode
obj IeJsValue
propertyNames IeJsValue
리턴 JsErrorCode
예제 #1
0
        /// <summary>
        /// Gets a list of all properties on the object
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <returns>The array of property names</returns>
        public IeJsValue GetOwnPropertyNames()
        {
            IeJsValue propertyNamesReference;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsGetOwnPropertyNames(this, out propertyNamesReference));

            return(propertyNamesReference);
        }