MessageBoxParameters.DefaultButton 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 DefaultButton As MessageBoxDefaultButton
    Get
    Set
'Usage
Dim instance As MessageBoxParameters
Dim value As MessageBoxDefaultButton

value = instance.DefaultButton

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

Property Value

Type: System.Windows.Forms.MessageBoxDefaultButton

.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