_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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。