Partager via


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
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Property AlwaysVisible As Boolean
    Get
    Set
'Utilisation
Dim instance As TaskProvider
Dim value As Boolean

value = instance.AlwaysVisible

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

Property Value

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

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace