SaveEntry Method  
 

Save the specified entry to the current phonebook.

Syntax

object.SaveEntry( [EntryName] )

Parameters

EntryName
An optional string value that specifies the name of phonebook entry. If this argument is not provided, the current value of the PhoneEntry property is 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.

Remarks

The SaveEntry method saves the specified entry to the current phonebook, based on the current control properties. If the entry does not exist, it will be created. If an entry by that name already exists, it will be overwritten. Note that unlike the CreateEntry method, this method does not display any dialogs.

See Also

PhoneBook Property, PhoneEntry Property, CreateEntry Method, EditEntry Method