다음을 통해 공유


IOleInPlaceSiteWindowless.GetFocus Method

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

‘선언
Function GetFocus As Integer
‘사용 방법
Dim instance As IOleInPlaceSiteWindowless
Dim returnValue As Integer

returnValue = instance.GetFocus()
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

See Also

Reference

IOleInPlaceSiteWindowless Interface

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace