_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler 委派
這個應用程式開發介面支援 .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
類型:String
Selection
類型:TextSelection
InStatementCompletion
類型:Boolean
CancelKeypress
類型:Boolean%