コード例 #1
0
        public ExplorerUrlHistory()
        {
            this.obj = (IUrlHistoryStg2)this.urlHistory;
            STATURLEnumerator enumerator = new STATURLEnumerator((IEnumSTATURL)this.obj.EnumUrls);

            this._urlHistoryList = new List <STATURL>();
            enumerator.GetUrlHistory(this._urlHistoryList);
        }
コード例 #2
0
        /// <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);
        }