ProvideToolWindowAttribute.Transient Property
Gets or sets whether the tool window should not be reopened when the IDE restarts.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Property Transient As Boolean
public bool Transient { get; set; }
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.