DialogBase.ProcessDialogChar Method
Verifies whether a character (such as A, B, or C) should be processed for the dialog box.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Protected Overrides Function ProcessDialogChar ( _
charCode As Char _
) As Boolean
protected override bool ProcessDialogChar(
char charCode
)
protected:
virtual bool ProcessDialogChar(
wchar_t charCode
) override
abstract ProcessDialogChar :
charCode:char -> bool
override ProcessDialogChar :
charCode:char -> bool
protected override function ProcessDialogChar(
charCode : char
) : boolean
Parameters
charCode
Type: CharThe character to process.
Return Value
Type: Boolean
true if the character should be processed; otherwise, false.
Remarks
This method makes sure that only critical exceptions are exposed to the base class. Any exceptions that reach the base class open the WinForms Unhandled Exception dialog box.
.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.