OleCommandStatus.Text 属性

检索或设置为该命令显示的文本。

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

语法

声明
Public Property Text As String
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String
function set Text (value : String)

属性值

类型:System.String
返回文本为指定命令的显示。

备注

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

.NET Framework 安全性

请参见

参考

OleCommandStatus 类

Microsoft.VisualStudio.Data 命名空间