public void DetachEventHandler(string eventName, EventHandler eventHandler)
        {
            HtmlDocumentShim documentShim = this.DocumentShim;

            if (documentShim != null)
            {
                documentShim.DetachEventHandler(eventName, eventHandler);
            }
        }
Example #2
0
        /// <include file='doc\HtmlDocument.uex' path='docs/doc[@for="HtmlDocument.DetachEventHandler"]/*' />
        public void DetachEventHandler(string eventName, EventHandler eventHandler)
        {
            HtmlDocumentShim shim = DocumentShim;

            if (shim != null)
            {
                shim.DetachEventHandler(eventName, eventHandler);
            }
        }