Compartir a través de


IBraceCompletionSession.PreReturn Method

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

Namespace:  Microsoft.VisualStudio.Text.BraceCompletion
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
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
)

Parameters

  • handledCommand
    Type: Boolean%

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

.NET Framework Security

See Also

Reference

IBraceCompletionSession Interface

Microsoft.VisualStudio.Text.BraceCompletion Namespace