Call this method to cause the Autodesk Revit dialog to be dismissed with the specified return value. 
   Namespace:   Autodesk.Revit.UI.Events  
  Assembly:   RevitAPIUI  (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- result
 -  Type:  System Int32  
The result code you wish the Revit dialog to return.