다음을 통해 공유


_DTE.SuppressUI Property

Definition

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.

Applies to