Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called by an in-place active, windowless object to determine if it still has the keyboard focus or not.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function GetFocus As Integer
int GetFocus()
int GetFocus()
abstract GetFocus : unit -> int
function GetFocus() : int
Return Value
Type: System.Int32
S_OK
The object currently has the keyboard focus.
S_FALSE
The object does not currently have the keyboard focus.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::GetFocus
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.