SocketTools .NET Edition

InternetDialer.RenameEntry Method 

Rename an existing phonebook entry.

[Visual Basic]
Public Function RenameEntry( _
   ByVal oldEntryName As String, _
   ByVal newEntryName As String _
) As Boolean
[C#]
public bool RenameEntry(
   string oldEntryName,
   string newEntryName
);

Parameters

oldEntryName
A string which specifies the phonebook entry which will be renamed.
newEntryName
A string which specifies the new name for the phonebook entry.

Return Value

This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.

Remarks

The RenameEntry method renames the specified entry in the local phonebook. The new entry name must not already exist in the phonebook.

See Also

InternetDialer Class | SocketTools Namespace