Dela via


UserActivityAttribution.AlternateText Property

Definition

Get or set the text that describes the icon.

public:
 property Platform::String ^ AlternateText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AlternateText();

void AlternateText(winrt::hstring value);
public string AlternateText { get; set; }
var string = userActivityAttribution.alternateText;
userActivityAttribution.alternateText = string;
Public Property AlternateText As String

Property Value

String

Platform::String

winrt::hstring

The alternative text string.

Remarks

Screen readers use the alternative text string to describe the icon.

Applies to