Freigeben über


Completor.TypeBackspace Method

Performs the specified number of backspaces on the line being edited and updates the internal caret position.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Sub TypeBackspace ( _
    len As Integer _
)
public void TypeBackspace(
    int len
)
public:
void TypeBackspace(
    int len
)
member TypeBackspace : 
        len:int -> unit
public function TypeBackspace(
    len : int
)

Parameters

  • len
    Type: Int32

    [in] The number of backspaces to perform.

Remarks

A backspace deletes the character before the caret and moves the caret to the left one space. You cannot backspace beyond the physical beginning of the line.

This operation is the equivalent of typing the Backspace key.

If macro recording is active, a backspace operation of the specified length is added to the macro.

.NET Framework Security

See Also

Reference

Completor Class

Microsoft.VisualStudio.Package Namespace