YesNoAlert Method
Collapse the table of content
Expand the table of content

IVCWizCtlUI.YesNoAlert Method (String)


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)

bool YesNoAlert(
	string bstrMessage


Type: System.String

Required. The message displayed to the user.

Return Value

Type: System.Boolean

True if the user clicks Yes; otherwise false.

Return to top
© 2016 Microsoft