Share via


MessageBoxParameters.Icon Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

'Declaration
Public Property Icon As MessageBoxIcon
    Get
    Set
'Usage
Dim instance As MessageBoxParameters
Dim value As MessageBoxIcon

value = instance.Icon

instance.Icon = value
public MessageBoxIcon Icon { get; set; }
public:
property MessageBoxIcon Icon {
    MessageBoxIcon get ();
    void set (MessageBoxIcon value);
}
function get Icon () : MessageBoxIcon
function set Icon (value : MessageBoxIcon)
member Icon : MessageBoxIcon with get, set

Property Value

Type: System.Windows.Forms.MessageBoxIcon

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0

See Also

Reference

MessageBoxParameters Class

MessageBoxParameters Members

Microsoft.ManagementConsole.Advanced Namespace