/// <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); }