共用方式為


TaskProvider.AlwaysVisible Property

Determines whether or not the provider is always visible in the dropdown menu even though it has no tasks.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property AlwaysVisible As Boolean
public bool AlwaysVisible { get; set; }

Property Value

Type: System.Boolean
true if it is always visible, otherwise false.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace