IBraceCompletionContext.AllowOverType(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 the closing brace character has been typed.
public:
bool AllowOverType(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession ^ session);
public:
bool AllowOverType(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession ^ session);
bool AllowOverType(Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionSession const & session);
public bool AllowOverType (Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSession session);
abstract member AllowOverType : Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSession -> bool
Public Function AllowOverType (session As IBraceCompletionSession) As Boolean
Parameters
- session
- IBraceCompletionSession
Default brace completion session
Returns
Returns true if the context is a valid overtype scenario.
Remarks
The closing brace character will not be inserted into the buffer until after this returns.