_dispTextDocumentKeyPressEvents.BeforeKeyPress 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

仅由 Microsoft 内部使用。

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参见

参考

_dispTextDocumentKeyPressEvents 接口

EnvDTE80 命名空间