共用方式為


CortanaTileNotificationTriggerDetails.EmphasizedText 屬性

定義

用來在 Cortana 動態磚上顯示溫度的字串。 在動態磚上,此文字會以超大型字型呈現,而且不會換行。 如果此屬性具有值,則 LargeContent2、NonWrappedSmallContent2、NonWrappedSmallContent3 和 NonWrappedSmallContent4 一律會隱藏。

public:
 property Platform::String ^ EmphasizedText { Platform::String ^ get(); };
winrt::hstring EmphasizedText();
public string EmphasizedText { get; }
var string = cortanaTileNotificationTriggerDetails.emphasizedText;
Public ReadOnly Property EmphasizedText As String

屬性值

String

Platform::String

winrt::hstring

用來在 Cortana 動態磚上顯示溫度的字串。

Windows 需求

應用程式功能
accessoryManager

備註

呼叫此 API 需要應用程式資訊清單中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

適用於