Share via


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

バッジに表示する新しいカウント値。

属性

適用対象