This documentation is archived and is not being maintained.

IVCWizCtlUI.OkCancelAlert Method 

Displays an alert message to the wizard user, requiring the user to click OK to confirm a selected wizard option or Cancel to cancel that option.

Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in microsoft.visualstudio.vswizard.dll)

bool OkCancelAlert (
	[InAttribute] string bstrMessage
boolean OkCancelAlert (
	/** @attribute InAttribute() */ String bstrMessage
function OkCancelAlert (
	bstrMessage : String
) : boolean



A string containing the message to display to the user.

Return Value

true for OK, false for Cancel.