| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > DocumentCollection Class : Remove Method |
Type: System.Int32
The zero-based index of the document to remove.
Type: System.Int32
The zero-based index of the document to remove.
| Exception | Description |
|---|---|
| ArgumentOutOfRangeException | index is less than 0 or index is equal to or greater than Count. |
// get all documents from page DocumentCollection docCol = tab.AllDocuments; // remove the last document docCol.Remove(docCol.Count-1);
// get all documents from page $docCol = $tab->AllDocuments; // remove the last document $docCol->Remove($docCol->Count-1);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.