JsStrictEquals() private method

private JsStrictEquals ( IeJsValue obj1, IeJsValue obj2, bool &result ) : JsErrorCode
obj1 IeJsValue
obj2 IeJsValue
result bool
return JsErrorCode
示例#1
0
        /// <summary>
        /// Compare two JavaScript values for strict equality
        /// </summary>
        /// <remarks>
        /// <para>
        /// This function is equivalent to the "===" operator in JavaScript.
        /// </para>
        /// <para>
        /// Requires an active script context.
        /// </para>
        /// </remarks>
        /// <param name="other">The object to compare</param>
        /// <returns>Whether the values are strictly equal</returns>
        public bool StrictEquals(IeJsValue other)
        {
            bool equals;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsStrictEquals(this, other, out equals));

            return(equals);
        }