Zennolab.CommandCenter
Remove Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > DocumentCollection Class : Remove Method
index

Type: System.Int32

The zero-based index of the document to remove.

Removes the element at the specified index of the DocumentCollection.

Syntax

C# 
public void Remove( 
   int index
)

Parameters

index

Type: System.Int32

The zero-based index of the document to remove.

Example

The following code shows the Remove method call
C#Copy Code
DocumentCollection docCol = tab.AllDocuments;
            
docCol.Remove(docCol.Count-1);
PHPCopy Code
$docCol = $tab->AllDocuments;
            
$docCol->Remove($docCol->Count);

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.