IVsTextView.CloseView Method

Definition

Closes and unregisters a view with the view manager.

C++/CX
public:
 int CloseView();

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

cpp#
HRESULT IVsTextView::CloseView();  

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022