Skip to main content

DeleteBookmarkCommand.execute(name) Method

Executes the DeleteBookmarkCommand command with the specified parameter.

Declaration

execute(
    name: string
): boolean

Parameters

Name Type Description
name string

A string value specifying a name of the deleted bookmark.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.deleteBookmark.execute("firstBookmark");
See Also