[This is preliminary documentation and is subject to change.]
Shows a message with an icon and yes, no and cancel buttons.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static DialogResult ShowYesNoCancel( Form owner, TaskDialogCommonIcon icon, string mainInstruction, string content, string yes, string no, string cancel )
Public Shared Function ShowYesNoCancel ( _ owner As Form, _ icon As TaskDialogCommonIcon, _ mainInstruction As String, _ content As String, _ yes As String, _ no As String, _ cancel As String _ ) As DialogResult
public: static DialogResult ShowYesNoCancel( Form^ owner, TaskDialogCommonIcon icon, String^ mainInstruction, String^ content, String^ yes, String^ no, String^ cancel )
Parameters
- icon (TaskDialogCommonIcon)
- The TaskDialogCommonIcon to show with the message.
- mainInstruction (String)
- The main heading for the message.
- content (String)
- The details for the message, shown below the mainInstruction.
Return Value
The DialogResult indicating which button was selected.