VsTextViewClass.SendExplicitFocus Method

Definition

Sends explicit focus to the window.

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

Returns

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

Implements

Applies to