Aracılığıyla paylaş


VsShellUtilities.PromptYesNo Method

Displays a message box that contains the specified title and prompts the user to respond (yes or no) to the specified message.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Bildirim
Public Shared Function PromptYesNo ( _
    message As String, _
    title As String, _
    icon As OLEMSGICON, _
    uiShell As IVsUIShell _
) As Boolean
public static bool PromptYesNo(
    string message,
    string title,
    OLEMSGICON icon,
    IVsUIShell uiShell
)

Parameters

  • message
    Type: System.String
    The message to which the user must respond.

Return Value

Type: System.Boolean
true if the operation succeeded; otherwise, false.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace