AppUriHandlerRegistration.PackageFamilyName 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 the package family name for the app originally specified when creating the associated AppUriHandlerRegistrationManager object.
public:
property Platform::String ^ PackageFamilyName { Platform::String ^ get(); };
winrt::hstring PackageFamilyName();
public string PackageFamilyName { get; }
var string = appUriHandlerRegistration.packageFamilyName;
Public ReadOnly Property PackageFamilyName As String
Property Value
The package family name for the app.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
This method is useful in cases where the calling app hosts multiple hosted apps, and each one has its own app URI registrations. If the associated AppUriHandlerRegistrationManager was retrieved with by calling GetForUser, empty string is returned.