AppTaskInfo.Title Property

Definition

Gets the title of this task.

public:
 property Platform::String ^ Title { Platform::String ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
winrt::hstring Title();
[Windows.Foundation.Metadata.Experimental]
public string Title { [Windows.Foundation.Metadata.Experimental] get; }
var string = appTaskInfo.title;
Public ReadOnly Property Title As String

Property Value

String

Platform::String

winrt::hstring

The title that represents the type of task.

Attributes

Remarks

Important

App task support will start gradually rolling out to Windows 11 starting May, 2026. The experiences enabled by Windows.UI.Shell.Tasks APIs require that the corresponding app task feature be present in the version of Windows where the app runs. Otherwise, these APIs will not have any effect.

Title and subtitle are text fields that represent the type of task. They are displayed in the UI, sometimes appended together (for example, "Researcher - Trends in smart appliances"). Tasks are grouped based on the title.

Use the Create or UpdateTitles methods to set title and subtitle values.

Applies to