JsHasIndexedProperty() private method

private JsHasIndexedProperty ( IeJsValue obj, IeJsValue index, bool &result ) : JsErrorCode
obj IeJsValue
index IeJsValue
result bool
return JsErrorCode
Beispiel #1
0
        /// <summary>
        /// Test if an object has a value at the specified index
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <param name="index">The index to test</param>
        /// <returns>Whether the object has an value at the specified index</returns>
        public bool HasIndexedProperty(IeJsValue index)
        {
            bool hasProperty;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsHasIndexedProperty(this, index, out hasProperty));

            return(hasProperty);
        }