An object that represents a simple message box that prompts the user
for some action.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.APIObject
Autodesk.Revit.UI.Events.DialogBoxData
Autodesk.Revit.UI.Events.MessageBoxData
Namespace: Autodesk.Revit.UI.Events
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class MessageBoxData : DialogBoxData
The MessageBoxData type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | DialogType | An integer that describes the standard windows type of the dialog box. |
![]() | HelpId |
An ID that represents the dialog that has been displayed.
(Inherited from DialogBoxData) |
![]() ![]() | IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject) |
![]() | Message | The message that has been displayed in the dialog box. |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | OverrideResult |
Call this method to cause the Autodesk Revit dialog to be dismissed with the specified return value.
(Inherited from DialogBoxData) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |