NativeMethods.GetFocus Method

Returns the handle to the window that has the focus.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetFocus As IntPtr
'Usage
Dim returnValue As IntPtr

returnValue = NativeMethods.GetFocus()
public static IntPtr GetFocus()
public:
static IntPtr GetFocus()
public static function GetFocus() : IntPtr
static member GetFocus : unit -> IntPtr 

Return Value

Type: System.IntPtr

.NET Framework Security

See Also

Reference

NativeMethods Class

NativeMethods Members

Microsoft.VisualStudio Namespace