_dispTextDocumentKeyPressEvents_SinkHelper.BeforeKeyPress 方法

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

仅由 Microsoft 内部使用。

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

语法

声明
Public Overridable Sub BeforeKeyPress ( _
    A_1 As String, _
    A_2 As TextSelection, _
    A_3 As Boolean, _
    ByRef A_4 As Boolean _
)
public virtual void BeforeKeyPress(
    string A_1,
    TextSelection A_2,
    bool A_3,
    ref bool A_4
)
public:
virtual void BeforeKeyPress(
    String^ A_1, 
    TextSelection^ A_2, 
    bool A_3, 
    bool% A_4
)
abstract BeforeKeyPress : 
        A_1:string * 
        A_2:TextSelection * 
        A_3:bool * 
        A_4:bool byref -> unit 
override BeforeKeyPress : 
        A_1:string * 
        A_2:TextSelection * 
        A_3:bool * 
        A_4:bool byref -> unit 
public function BeforeKeyPress(
    A_1 : String, 
    A_2 : TextSelection, 
    A_3 : boolean, 
    A_4 : boolean
)

参数

实现

_dispTextDocumentKeyPressEvents.BeforeKeyPress(String, TextSelection, Boolean, Boolean%)

.NET Framework 安全性

请参见

参考

_dispTextDocumentKeyPressEvents_SinkHelper 类

EnvDTE80 命名空间