Share via


_dispTextDocumentKeyPressEvents.BeforeKeyPress Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

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

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

_dispTextDocumentKeyPressEvents Interface

EnvDTE80 Namespace