Compartir a través de


ProvideToolboxItemDiscoveryAttribute.VisibilityUIContexts Property

Gets or sets a list of UIContexts that controls the visibility of the tab. The tab is hidden if none of the UI contexts are set. Only non-dynamic UI contexts are supported (for example, OsWindows8OrHigherContext). Use of dynamic contexts like NoSolutionContext is not supported and results in non-deterministic behaviors.

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

Syntax

'Declaration
Public Property VisibilityUIContexts As String()
public string[] VisibilityUIContexts { get; set; }
public:
property array<String^>^ VisibilityUIContexts {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member VisibilityUIContexts : string[] with get, set
function get VisibilityUIContexts () : String[]
function set VisibilityUIContexts (value : String[])

Property Value

Type: array<String[]

.NET Framework Security

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace