VCWizCtlClass.YesNoAlert Method

This method displays an alert message to the wizard user, requiring the user to click Yes to confirm a selected wizard option or No to cancel that option.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Public Overridable Function YesNoAlert ( _
    bstrMessage As String _
) As Boolean
public virtual bool YesNoAlert(
    string bstrMessage
)
public:
virtual bool YesNoAlert(
    [InAttribute] String^ bstrMessage
)
abstract YesNoAlert : 
        bstrMessage:string -> bool 
override YesNoAlert : 
        bstrMessage:string -> bool 
public function YesNoAlert(
    bstrMessage : String
) : boolean

Parameters

  • bstrMessage
    Type: System.String
    Required. The message displayed to the user.

Return Value

Type: System.Boolean
True if the user clicks Yes; otherwise false.

Implements

IVCWizCtlUI.YesNoAlert(String)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace