Gets copies the documents of the
DocumentCollection to a new array.
Syntax
Example
The following code example demonstrates the
Documents property.
| C# | Copy Code |
|---|
// clear cookie
instance.ClearCookie();
// go to zennolab.com
Tab tab = instance.MainTab;
if ((tab.IsVoid) || (tab.IsNull)) return -1;
if (tab.IsBusy) tab.WaitDownloading();
tab.Navigate("zennolab.com");
if (tab.IsBusy) tab.WaitDownloading();
// get an array of documents
Document[] docs = docCol.Documents; |
| PHP | Copy Code |
|---|
// clear cookie
$instance->ClearCookie();
// go to zennolab.com
$tab = $instance->MainTab;
if (($tab->IsVoid) || ($tab->IsNull)) return -1;
if ($tab->IsBusy) $tab->WaitDownloading();
$tab->Navigate("zennolab.com");
if ($tab->IsBusy) $tab->WaitDownloading();
// get an array of documents
$docs = $docCol->Documents; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also