共用方式為


IBraceCompletionSession.PreBackspace 方法

Called by the editor before the character has been removed.

命名空間:  Microsoft.VisualStudio.Text.BraceCompletion
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Sub PreBackspace ( _
    <OutAttribute> ByRef handledCommand As Boolean _
)
void PreBackspace(
    out bool handledCommand
)
void PreBackspace(
    [OutAttribute] bool% handledCommand
)
abstract PreBackspace : 
        handledCommand:bool byref -> unit
function PreBackspace(
    handledCommand : boolean
)

參數

  • handledCommand
    類型:Boolean%

    true to prevent the backspace action from completing, otherwise false.

.NET Framework 安全性

請參閱

參考

IBraceCompletionSession 介面

Microsoft.VisualStudio.Text.BraceCompletion 命名空間