共用方式為


_CommandBarButton.Visible Property

Determines whether this control is visible.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property Visible As Boolean
bool Visible { get; set; }

Property Value

Type: System.Boolean
true if the control is visible, otherwise false.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Visible Overload

Microsoft.VisualStudio.CommandBars Namespace