Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the editor when the closing brace character has been typed. It does not occur if there is any non-whitespace character between the caret and the closing brace.
Namespace: Microsoft.VisualStudio.Text.BraceCompletion
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function AllowOverType ( _
session As IBraceCompletionSession _
) As Boolean
bool AllowOverType(
IBraceCompletionSession session
)
bool AllowOverType(
IBraceCompletionSession^ session
)
abstract AllowOverType :
session:IBraceCompletionSession -> bool
function AllowOverType(
session : IBraceCompletionSession
) : boolean
Parameters
session
Type: Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSessionThe default brace completion session
Return Value
Type: Boolean
Returns true if the context is a valid overtype scenario, otherwise false.
Remarks
The closing brace character will not be inserted into the buffer until after this method returns.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.