JsGetOwnPropertyNames() private method

private JsGetOwnPropertyNames ( IeJsValue obj, IeJsValue &propertyNames ) : JsErrorCode
obj IeJsValue
propertyNames IeJsValue
return JsErrorCode
Ejemplo n.º 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);
        }