VsTextViewClass.SendExplicitFocus Method

Definition

Sends explicit focus to the window.

C++/CX
public:
 virtual int SendExplicitFocus() = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::SendExplicitFocus;

Returns

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

Implements

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022