JsRelease() private method

private JsRelease ( IeJsValue reference, uint &count ) : JsErrorCode
reference IeJsValue
count uint
return JsErrorCode
示例#1
0
        /// <summary>
        /// Releases a reference to the object
        /// </summary>
        /// <remarks>
        /// Removes a reference that was created by AddRef.
        /// </remarks>
        /// <returns>The object's new reference count</returns>
        public uint Release()
        {
            uint count;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsRelease(this, out count));

            return(count);
        }