DeleteEntry Method  
 

Delete a phonebook entry from the local system.

Syntax

object.DeleteEntry( [EntryName] )

Parameters

EntryName
An optional string value which specifies specifies the phonebook entry to delete. If this argument is not provided, the value of the PhoneEntry property will be used.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.

See Also

CreateEntry Method, EditEntry Method, RenameEntry Method