System.Windows.Automation.TogglePattern.Toggle C# (CSharp) Method

Toggle() public method

public Toggle ( ) : void
return void
        public void Toggle()
        {
            try
            {
                this._pattern.Toggle();
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
            }
        }