TaskbarItemInfo.Description 属性

获取或设置任务栏项工具提示的文本。

命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)

语法

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

属性值

类型:System.String
任务栏项工具提示的文本。默认值为空字符串。

备注

当鼠标指针置于任务栏按钮上时,将在任务栏缩略图上面显示工具提示。 如果由于用户设置而不显示任务栏缩略图,也将显示工具提示。

下图显示任务栏 Description 工具提示。

Windows 任务栏描述

任务栏项目信息示例

.NET Framework 安全性

请参见

参考

TaskbarItemInfo 类

Microsoft.Windows.Shell 命名空间