UserActivityAttribution Klasse

Definition

Stellt grafische Informationen zu einer Benutzeraktivität bereit. Überschreibt Informationen, die das System über die Benutzeraktivität bereitstellt.

public ref class UserActivityAttribution sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.UserActivities.IUserActivityAttributionFactory, 327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserActivityAttribution final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.UserActivities.IUserActivityAttributionFactory), 327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UserActivityAttribution
function UserActivityAttribution(iconUri)
Public NotInheritable Class UserActivityAttribution
Vererbung
Object Platform::Object IInspectable UserActivityAttribution
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Konstruktoren

UserActivityAttribution()

Erstellen Sie ein UserActivityAttribution-Objekt .

UserActivityAttribution(Uri)

Erstellen Sie ein UserActivityAttribution-Objekt mit dem angegebenen Symbolbild-URI.

Eigenschaften

AddImageQuery

Rufen Sie ab, oder legen Sie fest, ob Windows eine Abfragezeichenfolge an den Bild-URI anfügen kann, der beim Abrufen des Bilds von IconUri angegeben wird. Die Abfragezeichenfolge enthält Informationen, die verwendet werden können, um das ideale Bild basierend auf dem DPI-Wert der Anzeige, der Einstellung für hohen Kontrast und der Sprache des Benutzers auszuwählen.

AlternateText

Rufen Sie den Text ab, der das Symbol beschreibt, oder legen Sie diesen fest.

IconUri

Rufen Sie den URI (Uniform Resource Identifier) für das Symbolbild ab, oder legen Sie sie fest.

Gilt für: