_dispTextDocumentKeyPressEvents.BeforeKeyPress Method
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
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
)
Parameters
Keypress
Type: String
Selection
Type: EnvDTE.TextSelection
InStatementCompletion
Type: Boolean
CancelKeypress
Type: Boolean%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.