JumpTask.Title 属性

获取或设置针对跳转列表中的任务显示的文本。

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

语法

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

属性值

类型:System.String
针对跳转列表中的任务显示的文本。默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

通常,必须设置 Title 属性才能使 JumpTask 作为可单击任务显示在跳转列表中。

或者可以通过创建一个未指定 Title 和 CustomCategoryJumpTask,来直观地分隔跳转列表中的项目。 此空的 JumpTask 将显示为跳转列表中的水平线。 在这种情况下,可以设置其他属性,但它们不会有任何效果。

.NET Framework 安全性

请参见

参考

JumpTask 类

Microsoft.Windows.Shell 命名空间