共用方式為


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

要顯示在徽章上的新計數值。

屬性

適用於