共用方式為


SecondaryTile.SmallLogo 屬性

定義

注意

smallLogo 可能會在Windows 8.1之後變更或無法使用。 請改用 SecondaryTileVisualElements.Square30x30Logo

取得或設定小型標誌影像,用於搜尋結果、[所有程式] 清單,以及 UI 中的其他位置。

小型標誌不會與Windows Phone 8.1 次要磚搭配使用。

public:
 property Uri ^ SmallLogo { Uri ^ get(); void set(Uri ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Uri SmallLogo();

void SmallLogo(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Uri SmallLogo();

void SmallLogo(Uri value);
public System.Uri SmallLogo { [Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public System.Uri SmallLogo { [Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("SmallLogo may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.Square30x30Logo.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var uri = secondaryTile.smallLogo;
secondaryTile.smallLogo = uri;
Public Property SmallLogo As Uri

屬性值

影像的位置。 這必須使用此配置來表示:已部署應用程式套件內的 ms-appx:/// A 路徑。 此路徑會針對應用程式所支援的語言和 DPI 穩定狀態進行解析。

屬性

備註

如果未提供此影像,則會使用此次要磚父應用程式的小型標誌。

應用程式在本機儲存 (ms-appdata://localfolder/) 的標誌影像,不應由應用程式刪除要在次要磚中使用的。 如果清除快取,這可防止影像遺失。

適用於