JsAddRef() 개인적인 메소드

private JsAddRef ( JavaScriptValue reference, uint &count ) : JavaScriptErrorCode
reference JavaScriptValue
count uint
리턴 JavaScriptErrorCode
        /// <summary>
        /// Adds a reference to the object.
        /// </summary>
        /// <remarks>
        /// This only needs to be called on objects that are not going to be stored somewhere on
        /// the stack. Calling AddRef ensures that the JavaScript object the value refers to will not be freed
        /// until Release is called
        /// </remarks>
        /// <returns>The object's new reference count.</returns>
        public uint AddRef()
        {
            uint count;

            Native.ThrowIfError(Native.JsAddRef(this, out count));
            return(count);
        }