VsTextViewClass.CloseView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes and unregisters a view with the view manager.
public:
virtual int CloseView() = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::CloseView;
public:
virtual int CloseView();
public:
virtual int CloseView() = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::CloseView;
virtual int CloseView();
public virtual int CloseView ();
abstract member CloseView : unit -> int
override this.CloseView : unit -> int
Public Overridable Function CloseView () As Integer
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.