PackageVolume.FindPackages Method

Definition

Overloads

FindPackages()

Gets a collection of info about all installed instances of all Packages for all registered users.

FindPackages(String)

Gets a collection of info about all installed instances of the specified Package for all registered users.

FindPackages(String, String)

Gets a collection of info about all installed instances of the specified Package from the specified publisher for all registered users.

FindPackages()

Gets a collection of info about all installed instances of all Packages for all registered users.

public:
 virtual IVector<Package ^> ^ FindPackages() = FindPackages;
/// [Windows.Foundation.Metadata.Overload("FindPackages")]
IVector<Package> FindPackages();
[Windows.Foundation.Metadata.Overload("FindPackages")]
public IList<Package> FindPackages();
function findPackages()
Public Function FindPackages () As IList(Of Package)

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to

FindPackages(String)

Gets a collection of info about all installed instances of the specified Package for all registered users.

public:
 virtual IVector<Package ^> ^ FindPackages(Platform::String ^ packageFamilyName) = FindPackages;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByPackageFamilyName")]
IVector<Package> FindPackages(winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("FindPackagesByPackageFamilyName")]
public IList<Package> FindPackages(string packageFamilyName);
function findPackages(packageFamilyName)
Public Function FindPackages (packageFamilyName As String) As IList(Of Package)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name of the package.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to

FindPackages(String, String)

Gets a collection of info about all installed instances of the specified Package from the specified publisher for all registered users.

public:
 virtual IVector<Package ^> ^ FindPackages(Platform::String ^ packageName, Platform::String ^ packagePublisher) = FindPackages;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByNamePublisher")]
IVector<Package> FindPackages(winrt::hstring const& packageName, winrt::hstring const& packagePublisher);
[Windows.Foundation.Metadata.Overload("FindPackagesByNamePublisher")]
public IList<Package> FindPackages(string packageName, string packagePublisher);
function findPackages(packageName, packagePublisher)
Public Function FindPackages (packageName As String, packagePublisher As String) As IList(Of Package)

Parameters

packageName
String

Platform::String

winrt::hstring

The full name of the package.

packagePublisher
String

Platform::String

winrt::hstring

The publisher of the package.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to