[This is preliminary documentation and is subject to change.]

Default function used for converting enumeration values to icons for message box

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static IconOrBitmap GetIcon(
	MessageBox..::..MessageBoxIcons code
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Shared Function GetIcon ( _
	code As MessageBox..::..MessageBoxIcons _
) As IconOrBitmap
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
public:
static IconOrBitmap^ GetIcon(
	MessageBox..::..MessageBoxIcons code
)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member GetIcon : 
        code:MessageBox..::..MessageBoxIcons -> IconOrBitmap 
JScript
public static function GetIcon(
	code : MessageBox..::..MessageBoxIcons
) : IconOrBitmap

Parameters

code
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxIcons
Code of icon to be obtained

Return Value

Appropriate icon to code or null if no icon is associated with code

Remarks

You can change which function MessageBox globaly uses for obtaining icons by setting the GetIconDelegate static property

See Also