Compartir a través de


CodeWindowManager.OnSetFocus(IVsTextView) Method

Definition

Refresh the document properties

public:
 virtual void OnSetFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
public:
 virtual void OnSetFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
 virtual void OnSetFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & textView);
public virtual void OnSetFocus (Microsoft.VisualStudio.TextManager.Interop.IVsTextView textView);
abstract member OnSetFocus : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
override this.OnSetFocus : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
Public Overridable Sub OnSetFocus (textView As IVsTextView)

Parameters

textView
IVsTextView

[in] The IVsTextView object representing the view that received the focus.

Remarks

The base method calls Microsoft.VisualStudio.Package.DocumentProperties.Refresh on the document properties if they exist.

In the default managed package framework implementation, this method is called from Microsoft.VisualStudio.Package.ViewFilter.OnSetFocus in the ViewFilter class in response to a "set focus" event.

Applies to