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
- 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.