AppExtension.AppUserModelId Property
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 an identifier that uniquely identifies the app.
public:
property Platform::String ^ AppUserModelId { Platform::String ^ get(); };
winrt::hstring AppUserModelId();
public string AppUserModelId { get; }
var string = appExtension.appUserModelId;
Public ReadOnly Property AppUserModelId As String
Property Value
The application user model ID for the application.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
An application user model identifier is used to associate processes, files, and windows with a particular application. See Application User Model IDs for more details.
This API is a more efficient, but otherwise exact equivalent of the AppInfo.AppUserModelId property.