Version

Delete Method (EditorWithMask)

Deletes currently selected text if possible and shifts characters accordingly.
Syntax
'Declaration
 
Public Function Delete() As Boolean
public bool Delete()

Return Value

True if the operation was successful.
Remarks

When you invoke this method, the control tries to delete the currently selected text and shift characters. If nothing is selected, it tries to delete the character at the current input position.

This method returns True if the operation was successful. If the operation fails because characters after the selection could not be shifted, the method returns False.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also