_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler Delegate
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler ( _
Keypress As String, _
Selection As TextSelection, _
InStatementCompletion As Boolean, _
ByRef CancelKeypress As Boolean _
)
'Usage
Dim instance As New _dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler(AddressOf HandlerMethod)
[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
)
JScript does not support delegates.
Parameters
Keypress
Type: System.String
Selection
Type: EnvDTE.TextSelection
InStatementCompletion
Type: System.Boolean
CancelKeypress
Type: System.Boolean%