IVsTextView.SendExplicitFocus Methode

Definition

Sendet expliziten Fokus auf das Fenster.

public:
 int SendExplicitFocus();
public:
 int SendExplicitFocus();
int SendExplicitFocus();
public int SendExplicitFocus ();
abstract member SendExplicitFocus : unit -> int
Public Function SendExplicitFocus () As Integer

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus textmgr. idl:

HRESULT IVsTextView::SendExplicitFocus();  

Diese Methode sendet die gimmefocus-Nachricht direkt, sodass Sie sofort verarbeitet wird.

Gilt für