SocialFeedItem.BadgeCountValue 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置应用锁屏提醒上显示的未看到项的数量。
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
应用锁屏提醒上显示的未显示项目数。
- 属性