Partilhar via


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

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

Consulte também

Referência

IBraceCompletionContext Interface

Namespace Microsoft.VisualStudio.Text.BraceCompletion