_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 命名空間