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:/// 部署的应用包中的一个路径。 此路径针对应用支持的语言和 DPI 平台解析。

属性

注解

如果未提供此图像,将使用此辅助磁贴的父应用的小徽标。

应用不应删除应用在本地 (ms-appdata://localfolder/) 保存在辅助磁贴中使用的徽标图像。 这可以防止在清除缓存时丢失图像。

适用于