UIAutomation.CurrentData.SetCurrentWindow C# (CSharp) Method

SetCurrentWindow() public static method

public static SetCurrentWindow ( IUiElement window ) : void
window IUiElement
return void
        public static void SetCurrentWindow(IUiElement window)
        {
            CurrentWindow = window ?? null;
        }