IBraceCompletionContext.OnReturn(IBraceCompletionSession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the editor when return is pressed while both braces are on the same line and no typing has occurred in the session.
public:
void OnReturn(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession ^ session);
public:
void OnReturn(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession ^ session);
void OnReturn(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession const & session);
public void OnReturn (Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSession session);
abstract member OnReturn : Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSession -> unit
Public Sub OnReturn (session As IBraceCompletionSession)
Parameters
- session
- IBraceCompletionSession
Default brace completion session
Remarks
Called after the newline has been inserted into the buffer.