ZennoLab Assemblies Documentation
Count Property (DocumentCollection)
Example 
ZennoLab.CommandCenter Namespace > DocumentCollection Class : Count Property
Gets the number of elements actually contained in the DocumentCollection.
Syntax
public int Count {get;}

Property Value

Type: System.Int32
The number of elements actually contained in the DocumentCollection.
Remarks
Count is the number of elements that are actually in the DocumentCollection.
Example
The following code example shows the value of the Count property.
// get all documents from page
DocumentCollection docCol = tab.AllDocuments;
 
// get count
int count = docCol.Count;
// get all documents from page
$docCol = $tab->AllDocuments;
 
// get count
$count = $docCol->Count;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

DocumentCollection Class
DocumentCollection Members
GetByNumber Method
IndexOf Method
Insert Method
InsertRange Method
Remove Method