共用方式為


IVCWizCtlUI.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:
 bool OkCancelAlert(System::String ^ bstrMessage);
public:
 bool OkCancelAlert(Platform::String ^ bstrMessage);
bool OkCancelAlert(std::wstring const & bstrMessage);
[System.Runtime.InteropServices.DispId(1610743825)]
public bool OkCancelAlert (string bstrMessage);
[<System.Runtime.InteropServices.DispId(1610743825)>]
abstract member OkCancelAlert : string -> bool
Public 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.

Attributes

Applies to