Condividi tramite


VCWizCtlClass.OkCancelAlert(String) Method

Definition

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.

public:
 virtual bool OkCancelAlert(System::String ^ bstrMessage) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::OkCancelAlert;
public:
 virtual bool OkCancelAlert(Platform::String ^ bstrMessage) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::OkCancelAlert;
 virtual bool OkCancelAlert(std::wstring const & bstrMessage);
[System.Runtime.InteropServices.DispId(1610743825)]
public virtual bool OkCancelAlert (string bstrMessage);
[<System.Runtime.InteropServices.DispId(1610743825)>]
abstract member OkCancelAlert : string -> bool
override this.OkCancelAlert : string -> bool
Public Overridable Function OkCancelAlert (bstrMessage As String) As Boolean

Parameters

bstrMessage
String

A string containing the message to display to the user.

Returns

true for OK, false for Cancel.

Implements

Attributes

Applies to