FindRelatedPackagesOptions Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menyediakan pemfilteran saat mencari paket.
public ref class FindRelatedPackagesOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.IFindRelatedPackagesOptionsFactory, 983040, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FindRelatedPackagesOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.IFindRelatedPackagesOptionsFactory), 983040, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FindRelatedPackagesOptions
function FindRelatedPackagesOptions(Relationship)
Public NotInheritable Class FindRelatedPackagesOptions
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 11 Insider Preview (diperkenalkan dalam 10.0.23504.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v15.0)
|
Konstruktor
FindRelatedPackagesOptions(PackageRelationship) |
Membuat instans baru FindRelatedPackagesOptions. |
Properti
IncludeFrameworks |
Menunjukkan apakah paket kerangka kerja harus disertakan. |
IncludeHostRuntimes |
Menunjukkan apakah paket hostRuntime harus disertakan. |
IncludeOptionals |
Menunjukkan apakah paket dependensi opsional harus disertakan. |
IncludeResources |
Menunjukkan apakah paket sumber daya harus disertakan. |
Relationship |
PackageRelationship menentukan hubungan paket yang akan diambil. |