Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

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

See Also

Reference

DialogBase Class

Microsoft.VisualStudio.Modeling.Shell Namespace