Dela via


BadgeUpdateManager.GetForUser(User) Method

Definition

Creates and initializes a new BadgeUpdateManagerForUser for the specified user, which lets you change the appearance or content of the badge on a tile for a specific user.

public:
 static BadgeUpdateManagerForUser ^ GetForUser(User ^ user);
 static BadgeUpdateManagerForUser GetForUser(User const& user);
public static BadgeUpdateManagerForUser GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As BadgeUpdateManagerForUser

Parameters

user
User

The user who will receive the tile badge updates.

Returns

An object that will update tile badges for the specified user.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to