OleCommandStatus.Visible 属性

检索或设置指示此命令的值是否可见。

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Public Property Visible As Boolean
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)

属性值

类型:System.Boolean
如果命令可见,返回 true ;否则返回 false。

备注

命令必须在更改此值的命令表编译器(.ctc)文件的 VISIBILITYCHANGES 标志。

.NET Framework 安全性

请参见

参考

OleCommandStatus 类

Microsoft.VisualStudio.Data 命名空间