ProvideToolWindowAttribute.Transient Property

Gets or sets whether the tool window should not be reopened when the IDE restarts.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

‘선언
Public Property Transient As Boolean
    Get
    Set
‘사용 방법
Dim instance As ProvideToolWindowAttribute
Dim value As Boolean

value = instance.Transient

instance.Transient = value
public bool Transient { get; set; }
public:
property bool Transient {
    bool get ();
    void set (bool value);
}
member Transient : bool with get, set
function get Transient () : boolean
function set Transient (value : boolean)

Property Value

Type: System.Boolean
false if the tool window should be displayed when the IDE restarts if it was displayed when the IDE closed, otherwise true.

Remarks

The default is false, which makes the tool window persistent (if the IDE is closed while the window is showing, the window will be displayed the next time the IDE starts).

.NET Framework Security

See Also

Reference

ProvideToolWindowAttribute Class

ProvideToolWindowAttribute Members

Microsoft.VisualStudio.Shell Namespace