IBraceCompletionSession.PreReturn 方法

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

命名空间:  Microsoft.VisualStudio.Text.BraceCompletion
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Sub PreReturn ( _
    <OutAttribute> ByRef handledCommand As Boolean _
)
void PreReturn(
    out bool handledCommand
)
void PreReturn(
    [OutAttribute] bool% handledCommand
)
abstract PreReturn : 
        handledCommand:bool byref -> unit
function PreReturn(
    handledCommand : boolean
)

参数

  • handledCommand
    类型:Boolean%

    true to prevent the insertion of the newline, otherwise false.

.NET Framework 安全性

请参阅

参考

IBraceCompletionSession 接口

Microsoft.VisualStudio.Text.BraceCompletion 命名空间