FeedAnnouncement.CustomAccessibilityText 属性

定义

获取或设置屏幕阅读器宣布的自定义辅助功能文本。

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

void CustomAccessibilityText(winrt::hstring value);
public string CustomAccessibilityText { get; set; }
var string = feedAnnouncement.customAccessibilityText;
feedAnnouncement.customAccessibilityText = string;
Public Property CustomAccessibilityText As String

属性值

String

Platform::String

winrt::hstring

注解

如果未提供,源主机可能会连接 PrimaryText 和屏幕阅读器公告的 <xref:Microsoft.Windows.Widgets.Notifications.FeedAnnouncement.Secondary> 字符串。

适用于