SocialFeedItem.BadgeCountValue 属性

定义

获取或设置应用锁屏提醒上显示的未看到项的数量。

public:
 property int BadgeCountValue { int get(); void set(int value); };
int BadgeCountValue();

void BadgeCountValue(int value);
/// [get: Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
int BadgeCountValue();

void BadgeCountValue(int value);
public int BadgeCountValue { get; set; }
public int BadgeCountValue { [Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] get; [Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] set; }
var int32 = socialFeedItem.badgeCountValue;
socialFeedItem.badgeCountValue = int32;
Public Property BadgeCountValue As Integer

属性值

Int32

int

应用锁屏提醒上显示的未显示项目数。

属性

适用于