共用方式為


SecondaryTile.Logo 屬性

定義

注意

在Windows 8.1之後,版本可能會改變或無法使用標誌。 請改用 SecondaryTileVisualElements.Square150x150Logo

取得或設定中型磚中使用的標誌影像。 當您建立方形或寬圖格時,需要這個屬性。

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

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

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

屬性值

影像的位置。 這可以表示為下列其中一個配置:ms-appx:/// 部署應用程式套件內的A 路徑。 此路徑會針對應用程式所支援的語言和 DPI 穩定狀態進行解析。 ms-appdata:///local/ 在個別使用者應用程式儲存體中找到的檔案。

屬性

備註

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

適用於