public ExplorerUrlHistory() { this.obj = (IUrlHistoryStg2)this.urlHistory; STATURLEnumerator enumerator = new STATURLEnumerator((IEnumSTATURL)this.obj.EnumUrls); this._urlHistoryList = new List <STATURL>(); enumerator.GetUrlHistory(this._urlHistoryList); }
/// <summary> /// Default constructor for UrlHistoryWrapperClass /// </summary> public ExplorerUrlHistory() { _urlHistory = new UrlHistoryClass(); _obj = (IUrlHistoryStg2)_urlHistory; STATURLEnumerator staturlEnumerator = new STATURLEnumerator((IEnumSTATURL)_obj.EnumUrls); _urlHistoryList = new List <STATURL>(); staturlEnumerator.GetUrlHistory(_urlHistoryList); }