Clear method

Official Content
This documentation is valid for:

ExcelDocument: Deletes the contents of all cells in the active worksheet.     
MailRecipientCollection/StringCollection: Empties the collection. All collection elements are deleted.

WebSession: Clear the web session variables.



Type returned:


This method returns an error code, so it is possible to call it as a function (&Err = &DataType.Clear()).


Extended data types ExcelDocument, MailRecipientCollection, StringCollection, WebSession
Languages .NET, Java, Ruby, Visual FoxPro

See also

ExcelDocument data type
MailRecipient Data Type
MailRecipientCollection Data Type
StringCollection Data Type