Compartilhar via


Método _dispTextDocumentKeyPressEvents.BeforeKeyPress

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Somente para uso interno da Microsoft.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (em EnvDTE80.dll)

Sintaxe

'Declaração
Sub BeforeKeyPress ( _
    Keypress As String, _
    Selection As TextSelection, _
    InStatementCompletion As Boolean, _
    ByRef CancelKeypress As Boolean _
)
void BeforeKeyPress(
    string Keypress,
    TextSelection Selection,
    bool InStatementCompletion,
    ref bool CancelKeypress
)
void BeforeKeyPress(
    String^ Keypress, 
    TextSelection^ Selection, 
    bool InStatementCompletion, 
    bool% CancelKeypress
)
abstract BeforeKeyPress : 
        Keypress:string * 
        Selection:TextSelection * 
        InStatementCompletion:bool * 
        CancelKeypress:bool byref -> unit
function BeforeKeyPress(
    Keypress : String, 
    Selection : TextSelection, 
    InStatementCompletion : boolean, 
    CancelKeypress : boolean
)

Parâmetros

  • Keypress
    Tipo: String

     

  • Selection
    Tipo: TextSelection

     

  • InStatementCompletion
    Tipo: Boolean

     

  • CancelKeypress
    Tipo: Boolean%

     

Segurança do .NET Framework

Consulte também

Referência

_dispTextDocumentKeyPressEvents Interface

Namespace EnvDTE80