Compartir a través de


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)

Syntax

'Declaration
Function OkCancelAlert ( _
    bstrMessage As String _
) As Boolean
bool OkCancelAlert(
    string bstrMessage
)
bool OkCancelAlert(
    [InAttribute] String^ bstrMessage
)
abstract OkCancelAlert : 
        bstrMessage:string -> bool
function OkCancelAlert(
    bstrMessage : String
) : boolean

Parameters

  • bstrMessage
    Type: System.String

    A string containing the message to display to the user.

Return Value

Type: System.Boolean
true for OK, false for Cancel.

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace