_DTE.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 whether 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
A Boolean value indicating True
if the UI is suppressed, False
if not.
- Attributes
Examples
Sub SuppressUIExample()
MsgBox(DTE.SuppressUI)
End Sub
Remarks
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.