Поделиться через


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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Декларация
Public Sub TypeBackspace ( _
    len As Integer _
)
public void TypeBackspace(
    int len
)

Parameters

  • len
    Type: System.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