MessageBoxData
Description:
An object that represents a simple message box that prompts the user for some action.
An object that represents a simple message box that prompts the user for some action.
Remarks:
When the application receives this object, a simple message box is displayed in Revit that requires user interaction. The OverrideResult function can be used to cause the dialog to be dismissed and return a desired result code.
When the application receives this object, a simple message box is displayed in Revit that requires user interaction. The OverrideResult function can be used to cause the dialog to be dismissed and return a desired result code.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.UI.Events.DialogBoxData
Autodesk.Revit.UI.Events.MessageBoxData
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.UI.Events.DialogBoxData
Autodesk.Revit.UI.Events.MessageBoxData
public class MessageBoxData : DialogBoxData
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) | APIObject |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| OverrideResult(Int32) | Boolean | Call this method to cause the Autodesk Revit dialog to be dismissed with the specified return value. (Inherited from DialogBoxData ) | DialogBoxData |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DialogType | int | An integer that describes the standard windows type of the dialog box. | |
| HelpId | int | An ID that represents the dialog that has been displayed. (Inherited from DialogBoxData ) | DialogBoxData |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. (Inherited from APIObject ) | APIObject |
| Message | string | The message that has been displayed in the dialog box. |