UserActivityChannel.GetForUser(User) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a UserActivityChannel object that can be used to get or create UserActivity objects for the specified user in the context of the current app.
public:
static UserActivityChannel ^ GetForUser(User ^ user);
static UserActivityChannel GetForUser(User const& user);
public static UserActivityChannel GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As UserActivityChannel
Parameters
- user
- User
The User that you want to get or create UserActivity objects for.
Returns
The UserActivityChannel object for the specified user.
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|