Revit 2018 API |
TaskDialog..::..Show Method (String, String, TaskDialogCommonButtons) |
TaskDialog Class See Also |
Shows a task dialog with title, main instruction and common buttons.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 18.0.0.0 (18.2.0.13)
Since: 2011
Syntax
C# |
---|
public static TaskDialogResult Show( string title, string mainInstruction, TaskDialogCommonButtons buttons ) |
Visual Basic |
---|
Public Shared Function Show ( _ title As String, _ mainInstruction As String, _ buttons As TaskDialogCommonButtons _ ) As TaskDialogResult |
Visual C++ |
---|
public: static TaskDialogResult Show( String^ title, String^ mainInstruction, TaskDialogCommonButtons buttons ) |
Parameters
- title
- Type: System..::..String
The title of the task dialog.
- mainInstruction
- Type: System..::..String
The main instruction of the task dialog.
- buttons
- Type: Autodesk.Revit.UI..::..TaskDialogCommonButtons
The common buttons to be shown the task dialog.