SocialInfoProviderManager.UpdateBadgeCountValue(String, Int32) 方法

定义

汇报锁屏提醒上的计数值。

public:
 static void UpdateBadgeCountValue(Platform::String ^ itemRemoteId, int newCount);
 static void UpdateBadgeCountValue(winrt::hstring const& itemRemoteId, int const& newCount);
/// [Windows.Foundation.Metadata.Deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
 static void UpdateBadgeCountValue(winrt::hstring const& itemRemoteId, int const& newCount);
public static void UpdateBadgeCountValue(string itemRemoteId, int newCount);
[Windows.Foundation.Metadata.Deprecated("ISocialInfoProviderManagerStatics 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 static void UpdateBadgeCountValue(string itemRemoteId, int newCount);
function updateBadgeCountValue(itemRemoteId, newCount)
Public Shared Sub UpdateBadgeCountValue (itemRemoteId As String, newCount As Integer)

参数

itemRemoteId
String

Platform::String

winrt::hstring

标识提供商系统上的联系人。

newCount
Int32

int

要在锁屏提醒上显示的新计数值。

属性

适用于