PackageVolume.FindPackagesWithPackageTypes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FindPackagesWithPackageTypes(PackageTypes, String, String) |
获取指定发布服务器中所有已安装的 包 实例的信息集合,其中包含所有已注册用户的指定包类型。 |
FindPackagesWithPackageTypes(PackageTypes) |
获取一个信息集合,其中包含所有已注册用户的指定包类型的所有 包 的所有已安装实例。 |
FindPackagesWithPackageTypes(PackageTypes, String) |
获取有关指定 包 的所有已安装实例的信息集合,其中包含所有已注册用户的指定包类型。 |
FindPackagesWithPackageTypes(PackageTypes, String, String)
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)
参数
- packageTypes
- PackageTypes
枚举值的按位组合,指定要返回的包的类型。
- packageName
-
String
Platform::String
winrt::hstring
包的全名。
- packagePublisher
-
String
Platform::String
winrt::hstring
包的发布者。
返回
有关指定包的信息集合。
- 属性
另请参阅
适用于
FindPackagesWithPackageTypes(PackageTypes)
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)
参数
- packageTypes
- PackageTypes
枚举值的按位组合,指定要返回的包的类型。
返回
有关指定包的信息集合。
- 属性
另请参阅
- FindPackagesWithPackageTypes(PackageTypes, String, String)
- FindPackagesWithPackageTypes(PackageTypes, String)
- 包
适用于
FindPackagesWithPackageTypes(PackageTypes, String)
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)
参数
- packageTypes
- PackageTypes
枚举值的按位组合,指定要返回的包的类型。
- packageFamilyName
-
String
Platform::String
winrt::hstring
包系列名称。
返回
有关指定包的信息集合。
- 属性
另请参阅
- FindPackagesWithPackageTypes(PackageTypes)
- FindPackagesWithPackageTypes(PackageTypes, String, String)
- 包