ZennoLab Assemblies Documentation
Documents Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > DocumentCollection Class : Documents Property

Glossary Item Box

Gets copies the documents of the DocumentCollection to a new array.

Syntax

C# 
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.
C#Copy Code
instance.ClearCookie();
            
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();
            
DocumentCollection docCol = tab.AllDocuments;
            
Document[] docs = docCol.Documents;
PHPCopy Code
$instance->ClearCookie();
            
$tab = $instance->MainTab;
if (($tab->IsVoid) || ($tab->IsNull)) return -1;
if ($tab->IsBusy) $tab->WaitDownloading();
$tab->Navigate("zennolab.com");
if ($tab->IsBusy) $tab->WaitDownloading();
            
$docCol = $tab->AllDocuments;
            
$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

© 2012 All Rights Reserved.