_dispTextDocumentKeyPressEvents.BeforeKeyPress (Método)
Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.
Sólo para uso interno de Microsoft.
Espacio de nombres: EnvDTE80
Ensamblado: EnvDTE80 (en EnvDTE80.dll)
Sintaxis
'Declaración
Sub BeforeKeyPress ( _
Keypress As String, _
Selection As TextSelection, _
InStatementCompletion As Boolean, _
ByRef CancelKeypress As Boolean _
)
void BeforeKeyPress(
string Keypress,
TextSelection Selection,
bool InStatementCompletion,
ref bool CancelKeypress
)
void BeforeKeyPress(
String^ Keypress,
TextSelection^ Selection,
bool InStatementCompletion,
bool% CancelKeypress
)
abstract BeforeKeyPress :
Keypress:string *
Selection:TextSelection *
InStatementCompletion:bool *
CancelKeypress:bool byref -> unit
function BeforeKeyPress(
Keypress : String,
Selection : TextSelection,
InStatementCompletion : boolean,
CancelKeypress : boolean
)
Parámetros
Keypress
Tipo: String
Selection
Tipo: TextSelection
InStatementCompletion
Tipo: Boolean
CancelKeypress
Tipo: Boolean%
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.