共用方式為


IBraceCompletionSession.PreOverType 方法

Called by the editor when the closing brace character has been typed and before it is inserted into the buffer.

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

語法

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

參數

  • handledCommand
    類型:Boolean%

    true to prevent the closing brace character from being inserted into the buffer, otherwise false.

.NET Framework 安全性

請參閱

參考

IBraceCompletionSession 介面

Microsoft.VisualStudio.Text.BraceCompletion 命名空間