_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
)
參數
- A_1
型別:System.String
- A_2
型別:EnvDTE.TextSelection
- A_3
型別:System.Boolean
- A_4
型別:System.Boolean%
實作
_dispTextDocumentKeyPressEvents.BeforeKeyPress(String, TextSelection, Boolean, Boolean%)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。