ZennoLab Assemblies Documentation
Documents Property
Example 
ZennoLab.CommandCenter Namespace > DocumentCollection Class : Documents Property
Gets copies the documents of the DocumentCollection to a new array.
Syntax
public Document[] Documents {get;}

Property Value

Type: Zennolab.CommandCenter.Document[]
An array containing copies of the documents of the DocumentCollection.
Example
The following code example demonstrates the Documents property.
// 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;
// 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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

DocumentCollection Class
DocumentCollection Members
Count Property