Delen via


PackageVolume.FindPackagesWithPackageTypes Method

Definition

Overloads

FindPackagesWithPackageTypes(PackageTypes, String, String)

Gets a collection of info about all installed instances of the specified Packages from the specified publisher with the specified package types for all registered users.

FindPackagesWithPackageTypes(PackageTypes)

Gets a collection of info about all installed instances of all Packages with the specified package types for all registered users.

FindPackagesWithPackageTypes(PackageTypes, String)

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

FindPackagesWithPackageTypes(PackageTypes, String, String)

Gets a collection of info about all installed instances of the specified Packages from the specified publisher with the specified package types for all registered users.

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

Parameters

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

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

FindPackagesWithPackageTypes(PackageTypes)

Gets a collection of info about all installed instances of all Packages with the specified package types for all registered users.

public:
 virtual IVector<Package ^> ^ FindPackagesWithPackageTypes(PackageTypes packageTypes) = FindPackagesWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesWithPackageTypes")]
IVector<Package> FindPackagesWithPackageTypes(PackageTypes const& packageTypes);
[Windows.Foundation.Metadata.Overload("FindPackagesWithPackageTypes")]
public IList<Package> FindPackagesWithPackageTypes(PackageTypes packageTypes);
function findPackagesWithPackageTypes(packageTypes)
Public Function FindPackagesWithPackageTypes (packageTypes As PackageTypes) As IList(Of Package)

Parameters

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to

FindPackagesWithPackageTypes(PackageTypes, String)

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

public:
 virtual IVector<Package ^> ^ FindPackagesWithPackageTypes(PackageTypes packageTypes, Platform::String ^ packageFamilyName) = FindPackagesWithPackageTypes;
/// [Windows.Foundation.Metadata.Overload("FindPackagesByPackageFamilyNameWithPackageTypes")]
IVector<Package> FindPackagesWithPackageTypes(PackageTypes const& packageTypes, winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("FindPackagesByPackageFamilyNameWithPackageTypes")]
public IList<Package> FindPackagesWithPackageTypes(PackageTypes packageTypes, string packageFamilyName);
function findPackagesWithPackageTypes(packageTypes, packageFamilyName)
Public Function FindPackagesWithPackageTypes (packageTypes As PackageTypes, packageFamilyName As String) As IList(Of Package)

Parameters

packageTypes
PackageTypes

A bitwise combination of the enumeration values that specifies the types of packages to return.

packageFamilyName
String

Platform::String

winrt::hstring

The package family name.

Returns

A collection of info about the specified packages.

Attributes

See also

Applies to