JsCreateArray() приватный Метод

private JsCreateArray ( uint length, JavaScriptValue &result ) : JavaScriptErrorCode
length uint
result JavaScriptValue
Результат JavaScriptErrorCode
        /// <summary>
        /// Creates a JavaScript array object.
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <param name="length">The initial length of the array.</param>
        /// <returns>The new array object.</returns>
        public static JavaScriptValue CreateArray(uint length)
        {
            JavaScriptValue reference;

            Native.ThrowIfError(Native.JsCreateArray(length, out reference));
            return(reference);
        }