Dela via


AppUriHandlerRegistration.GetAllHosts Method

Definition

Retrieves the set of all hosts including those added programmatically with SetAppAddedHostsAsync and those registered statically in the app manifest.

public:
 virtual IVector<AppUriHandlerHost ^> ^ GetAllHosts() = GetAllHosts;
IVector<AppUriHandlerHost> GetAllHosts();
public IList<AppUriHandlerHost> GetAllHosts();
function getAllHosts()
Public Function GetAllHosts () As IList(Of AppUriHandlerHost)

Returns

The set of all hosts.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to