Share via


AppUriHandlerRegistrationManager.PackageFamilyName Property

Definition

Gets the package family name for the app originally specified when creating the AppUriHandlerRegistrationManager object.

public:
 property Platform::String ^ PackageFamilyName { Platform::String ^ get(); };
winrt::hstring PackageFamilyName();
public string PackageFamilyName { get; }
var string = appUriHandlerRegistrationManager.packageFamilyName;
Public ReadOnly Property PackageFamilyName As String

Property Value

String

Platform::String

winrt::hstring

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 AppUriHandlerRegistrationManager was retrieved with by calling GetForUser, empty string is returned.

Applies to