DTE2.SuppressUI Property


Gets or sets a value indicating whether user interface (UI) should be displayed during the execution of automation code.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

bool SuppressUI { get; set; }

Property Value

Type: System.Boolean

true if the UI is suppressed; otherwise, false.



Typically, automation clients do not want UI to display and block the execution of the code. Some scenarios, however, might call for invoking commands or allowing for a special-handling UI to display so that the automation client does not need to reproduce the work of those dialog boxes.

Sub SuppressUIExample()
End Sub
Return to top