共用方式為


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 引進)

欄位

名稱 Description
Hidden 0

隱藏徽章

Visible 1

可見徽章

VisibleWithCount 2

顯示未看到專案計數的可見徽章

適用於