Crawls all URL strings in urlList, adds new document URLs (including those from urlList)
to the 'database' and returns list of newly found URLs.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Use DocumentIndex.ImportWebsite instead.", true)] public virtual ArrayList Crawl( ArrayList urlList )
<ObsoleteAttribute("Use DocumentIndex.ImportWebsite instead.", True)> _ Public Overridable Function Crawl ( _ urlList As ArrayList _ ) As ArrayList
[ObsoleteAttribute(L"Use DocumentIndex.ImportWebsite instead.", true)] public: virtual ArrayList^ Crawl( ArrayList^ urlList )
Parameters
- urlList (ArrayList)
- List of string objects specifying URLs to be crawled
Return Value
ArrayList of Uri objects with new URLs added to 'database'.
Remarks
Crawling will read each page and then each page (within the same host) linked from that page, until it finds no new pages.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If Configuration.IsLock is true (a lock has been applied). |