IVsTextView.CloseView Method

Definition

Closes and unregisters a view with the view manager.

public:
 int CloseView();
public:
 int CloseView();
int CloseView();
public int CloseView ();
abstract member CloseView : unit -> int
Public Function CloseView () As Integer

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextView::CloseView();  

Applies to