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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Property VisibilityUIContexts As String()
public string[] VisibilityUIContexts { get; set; }
Property Value
Type: array<System.String[]
.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.