共用方式為


VsTextViewClass.UpdateViewFrameCaption Method

Definition

Forces the view to update its frame window caption, such as "[Read only]".

public:
 virtual int UpdateViewFrameCaption() = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::UpdateViewFrameCaption;
public:
 virtual int UpdateViewFrameCaption();
public:
 virtual int UpdateViewFrameCaption() = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::UpdateViewFrameCaption;
 virtual int UpdateViewFrameCaption();
public virtual int UpdateViewFrameCaption ();
abstract member UpdateViewFrameCaption : unit -> int
override this.UpdateViewFrameCaption : unit -> int
Public Overridable Function UpdateViewFrameCaption () As Integer

Returns

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

Implements

Applies to