Esempio n. 1
0
        /// <summary>
        ///     Converts the value to <c>Object</c> using regular JavaScript semantics.
        /// </summary>
        /// <remarks>
        ///     Requires an active script context.
        /// </remarks>
        /// <returns>The converted value.</returns>
        public JavaScriptValue ConvertToObject()
        {
            JavaScriptValue objectReference;

            Native.ThrowIfError(Native.JsConvertValueToObject(this, out objectReference));
            return(objectReference);
        }