Partilhar via


IVCWizCtlUI.YesNoAlert(String) Method

Definition

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.

public:
 bool YesNoAlert(System::String ^ bstrMessage);
public:
 bool YesNoAlert(Platform::String ^ bstrMessage);
bool YesNoAlert(std::wstring const & bstrMessage);
[System.Runtime.InteropServices.DispId(1610743824)]
public bool YesNoAlert (string bstrMessage);
[<System.Runtime.InteropServices.DispId(1610743824)>]
abstract member YesNoAlert : string -> bool
Public Function YesNoAlert (bstrMessage As String) As Boolean

Parameters

bstrMessage
String

Required. The message displayed to the user.

Returns

True if the user clicks Yes; otherwise false.

Attributes

Applies to