FormUtilities.GetFocusWindowRestorer Method
Creates an object for restoring the previously-focused window.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetFocusWindowRestorer As IDisposable
'Usage
Dim returnValue As IDisposable
returnValue = FormUtilities.GetFocusWindowRestorer()
public static IDisposable GetFocusWindowRestorer()
public:
static IDisposable^ GetFocusWindowRestorer()
public static function GetFocusWindowRestorer() : IDisposable
static member GetFocusWindowRestorer : unit -> IDisposable
Return Value
Type: System.IDisposable
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace