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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
<UIPermissionAttribute(SecurityAction.LinkDemand, Window := UIPermissionWindow.AllWindows)> _
Protected Overrides Function ProcessDialogChar ( _
charCode As Char _
) As Boolean
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)]
protected override bool ProcessDialogChar(
char charCode
)
[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
protected:
virtual bool ProcessDialogChar(
wchar_t charCode
) override
[<UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)>]
abstract ProcessDialogChar :
charCode:char -> bool
[<UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)>]
override ProcessDialogChar :
charCode:char -> bool
protected override function ProcessDialogChar(
charCode : char
) : boolean
Parameters
- charCode
Type: System.Char
The character to process.
Return Value
Type: System.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.