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
'Declaración
Public Property Visible As Boolean
Get
Set
public bool Visible { get; set; }
public:
property bool Visible {
bool get ();
void set (bool value);
}
member Visible : bool with get, set
function get Visible () : boolean
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
- 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.