[This is preliminary documentation and is subject to change.]
Converts MessageBoxImage to MessageBox..::..MessageBoxIcons value
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static MessageBox..::..MessageBoxIcons ConvertIconConstant( MessageBoxImage code ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _ Public Shared Function ConvertIconConstant ( _ code As MessageBoxImage _ ) As MessageBox..::..MessageBoxIcons |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)] public: static MessageBox..::..MessageBoxIcons ConvertIconConstant( MessageBoxImage code ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>] static member ConvertIconConstant : code:MessageBoxImage -> MessageBox..::..MessageBoxIcons |
| JScript |
|---|
public static function ConvertIconConstant( code : MessageBoxImage ) : MessageBox..::..MessageBoxIcons |
Parameters
Return Value
Appropriate MessageBox..::..MessageBoxIcons value. If code is not member of MessageBoxIcon returns None
Remarks
Several MessageBoxImage values are converted to the same MessageBox..::..MessageBoxIcons value because they have same numerical values and it is not possible to distinguish between them. You'd better using MessageBox..::..MessageBoxIcons directly