Delegat _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Microsoft tylko do użytku wewnętrznego.
Przestrzeń nazw: EnvDTE80
Zestaw: EnvDTE80 (w EnvDTE80.dll)
Składnia
'Deklaracja
<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
Język JScript nie obsługuje delegatów.
Parametry
- Keypress
Typ: System.String
- Selection
Typ: EnvDTE.TextSelection
- InStatementCompletion
Typ: System.Boolean
- CancelKeypress
Typ: System.Boolean%