Método IBraceCompletionContext.AllowOverType
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 (em Microsoft.VisualStudio.Text.UI.dll)
Sintaxe
'Declaração
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
Parâmetros
session
Tipo: Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionSessionThe default brace completion session
Valor de retorno
Tipo: Boolean
Returns true if the context is a valid overtype scenario, otherwise false.
Comentários
The closing brace character will not be inserted into the buffer until after this method returns.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.