Share via


OleCommandStatus.Visible Property

Retrieves or sets a value indicating whether this command is visible.

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

Syntax

'Declaration
Public Property Visible As Boolean
'Usage
Dim instance As OleCommandStatus 
Dim value As Boolean 

value = instance.Visible

instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
public function get Visible () : boolean 
public function set Visible (value : boolean)

Property Value

Type: System.Boolean
Returns true if the command is visible; otherwise returns false.

Remarks

The command must have the VISIBILITYCHANGES flag in the command table compiler (.ctc) file to change this value.

.NET Framework Security

See Also

Reference

OleCommandStatus Class

OleCommandStatus Members

Microsoft.VisualStudio.Data Namespace