AppTaskInfo.Subtitle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the subtitle of this task.
public:
property Platform::String ^ Subtitle { Platform::String ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
winrt::hstring Subtitle();
[Windows.Foundation.Metadata.Experimental]
public string Subtitle { [Windows.Foundation.Metadata.Experimental] get; }
var string = appTaskInfo.subtitle;
Public ReadOnly Property Subtitle As String
Property Value
The subtitle that provides additional context for the 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.
The subtitle is optional and provides additional information about the task.
Use the Create or UpdateTitles methods to set title and subtitle values.