_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler 委派
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
僅限 Microsoft 內部使用。
命名空間: EnvDTE80
組件: EnvDTE80 (在 EnvDTE80.dll 中)
語法
'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler ( _
Keypress As String, _
Selection As TextSelection, _
InStatementCompletion As Boolean, _
ByRef CancelKeypress As Boolean _
)
[ComVisibleAttribute(false)]
public delegate void _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler(
string Keypress,
TextSelection Selection,
bool InStatementCompletion,
ref bool CancelKeypress
)
[ComVisibleAttribute(false)]
public delegate void _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler(
String^ Keypress,
TextSelection^ Selection,
bool InStatementCompletion,
bool% CancelKeypress
)
[<ComVisibleAttribute(false)>]
type _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler =
delegate of
Keypress:string *
Selection:TextSelection *
InStatementCompletion:bool *
CancelKeypress:bool byref -> unit
JScript 不支援委派。
參數
- Keypress
型別:System.String
- Selection
型別:EnvDTE.TextSelection
- InStatementCompletion
型別:System.Boolean
- CancelKeypress
型別:System.Boolean%