共用方式為


VsTextViewClass.CloseView Method

Definition

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.

Implements

Applies to