SecondaryTile.DisplayName 屬性

定義

取得或設定與並顯示在圖格上相關聯的名稱。 此名稱會顯示在 [開始] 的磚、磚的工具提示、應用程式清單中的小型磚標記法,以及某些主控台應用程式中。 當您建立磚時,需要這個屬性。 它相當於應用程式主要磚的資訊清單中所宣告的顯示名稱。

在 Windows Phone 8.1 上,顯示名稱只會顯示在寬次要磚上。

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

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
var string = secondaryTile.displayName;
secondaryTile.displayName = string;
Public Property DisplayName As String

屬性值

String

Platform::String

winrt::hstring

顯示名稱。 此字串限制為 256 個字元,但實際上應該保持簡短以避免截斷。

備註

搜尋會顯示此顯示名稱。

適用於