Udostępnij za pośrednictwem


VCWizCtlClass.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:
 virtual bool YesNoAlert(System::String ^ bstrMessage) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::YesNoAlert;
public:
 virtual bool YesNoAlert(Platform::String ^ bstrMessage) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::YesNoAlert;
 virtual bool YesNoAlert(std::wstring const & bstrMessage);
[System.Runtime.InteropServices.DispId(1610743824)]
public virtual bool YesNoAlert (string bstrMessage);
[<System.Runtime.InteropServices.DispId(1610743824)>]
abstract member YesNoAlert : string -> bool
override this.YesNoAlert : string -> bool
Public Overridable 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.

Implements

Attributes

Applies to