SocialItemBadgeStyle 枚举

定义

定义应用锁屏提醒类型。

public enum class SocialItemBadgeStyle
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
enum class SocialItemBadgeStyle
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SocialItemBadgeStyle is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
enum class SocialItemBadgeStyle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
public enum SocialItemBadgeStyle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SocialItemBadgeStyle is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
public enum SocialItemBadgeStyle
var value = Windows.ApplicationModel.SocialInfo.SocialItemBadgeStyle.hidden
Public Enum SocialItemBadgeStyle
继承
SocialItemBadgeStyle
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (在 v1.0 中引入)

字段

Hidden 0

隐藏锁屏提醒

Visible 1

可见锁屏提醒

VisibleWithCount 2

显示不可见项目计数的可见锁屏提醒

适用于