_dispTextDocumentKeyPressEvents.BeforeKeyPress 方法

定义

仅限 Microsoft 内部使用。

此 API 支持产品基础结构,不能在代码中直接使用。

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)

参数

Keypress
String
Selection
TextSelection
InStatementCompletion
Boolean
CancelKeypress
Boolean
属性

适用于