Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

_DTE.SuppressUI Property

Gets or sets whether UI should be displayed during the execution of automation code.

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

bool SuppressUI { get; set; }

Property Value

Type: System.Boolean
A Boolean value indicating True if the UI is suppressed, False if not.

Typically, automation clients do not want a 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 have to reproduce the work of those dialogs.

Sub SuppressUIExample()
End Sub

© 2015 Microsoft