PackageManager.FindPackage(String) PackageManager.FindPackage(String) PackageManager.FindPackage(String) PackageManager.FindPackage(String) Method

Definition

Retrieves information about the specified package installed for any user.

public : Package FindPackage(Platform::String packageFullName)
Package FindPackage(winrt::hstring packageFullName) const;
public Package FindPackage(String packageFullName)
Public Function FindPackage(packageFullName As String) As Package

Parameters

packageFullName
String String

The full name of the package. This parameter cannot be null.

Returns

If this method succeeds it returns a package object that contains information about the specified package, including but not limited to its name, publisher, version, and install location. If the specified package is not found, this method returns null.

Additional features and requirements

Capabilities
packageQuery

Remarks

This method requires administrative privileges. The returned package may be installed for the current user or for another user.