< Rev API Docs
2020
2021
2022
2023
2024
2025
2026
2027
Rev API Docs
›
Revit 2027 API
›
Namespaces
›
Autodesk.Revit.UI
›
UIView Class
›
UIView Methods
›
UIView.Close Method
Revit 2027 API
UIView
Close Method
Closes the view.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
C#
VB
C++
F#
Copy
public
void
Close
()
Public
Sub
Close
public
:
void
Close
()
member
Close
:
unit
->
unit
Exceptions
Exception
Condition
InvalidOperationException
Cannot close a project's only open view.
See Also
Reference
UIView Class
Autodesk.Revit.UI Namespace
Send comments on this topic to
Autodesk