DTE2.SuppressUI Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether user interface (UI) should be displayed during the execution of automation code.
public:
property bool SuppressUI { bool get(); void set(bool value); };
public:
property bool SuppressUI { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(243)]
public bool SuppressUI { [System.Runtime.InteropServices.DispId(243)] get; [System.Runtime.InteropServices.DispId(243)] set; }
[<System.Runtime.InteropServices.DispId(243)>]
[<get: System.Runtime.InteropServices.DispId(243)>]
[<set: System.Runtime.InteropServices.DispId(243)>]
member this.SuppressUI : bool with get, set
Public Property SuppressUI As Boolean
Property Value
true
if the UI is suppressed; otherwise, false
.
Implements
- Attributes
Examples
Sub SuppressUIExample()
MsgBox(DTE2.SuppressUI)
End Sub
Remarks
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.