共用方式為


IBraceCompletionSession.PreDelete 方法

Called by the editor when delete is pressed within the session.

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

語法

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

參數

  • handledCommand
    類型:Boolean%

    true to prevent the deletion, otherwise false.

.NET Framework 安全性

請參閱

參考

IBraceCompletionSession 介面

Microsoft.VisualStudio.Text.BraceCompletion 命名空間