_dispTextDocumentKeyPressEvents.BeforeKeyPress Method

Definition

Microsoft Internal Use Only.

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

public:
 void BeforeKeyPress(System::String ^ Keypress, EnvDTE::TextSelection ^ Selection, bool InStatementCompletion, bool % CancelKeypress);
void BeforeKeyPress(std::wstring const & Keypress, EnvDTE::TextSelection const & Selection, bool InStatementCompletion, bool & CancelKeypress);
[System.Runtime.InteropServices.DispId(1)]
public void BeforeKeyPress (string Keypress, EnvDTE.TextSelection Selection, bool InStatementCompletion, ref bool CancelKeypress);
[<System.Runtime.InteropServices.DispId(1)>]
abstract member BeforeKeyPress : string * EnvDTE.TextSelection * bool * bool -> unit
Public Sub BeforeKeyPress (Keypress As String, Selection As TextSelection, InStatementCompletion As Boolean, ByRef CancelKeypress As Boolean)

Parameters

Keypress
String
Selection
TextSelection
InStatementCompletion
Boolean
CancelKeypress
Boolean
Attributes

Applies to