Partager via


IBraceCompletionContext.AllowOverType(IBraceCompletionSession) Method

Definition

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.

Applies to