AppTaskInfo.Id Eigenschaft

Definition

Ruft den automatisch generierten eindeutigen Bezeichner für diese Aufgabe ab.

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

Eigenschaftswert

String

Platform::String

winrt::hstring

Der eindeutige Bezeichner für diese Aufgabe.

Attribute

Hinweise

Von Bedeutung

Die App-Aufgabenunterstützung wird ab Mai 2026 schrittweise für Windows 11 eingeführt. Die von Windows.UI.Shell.Tasks APIs aktivierten Erfahrungen erfordern, dass das entsprechende App-Aufgabenfeature in der Windows-Version vorhanden ist, in der die App ausgeführt wird. Andernfalls haben diese APIs keine Auswirkung.

Gilt für: