Condividi tramite


FindRelatedPackagesOptions Classe

Definizione

Fornisce filtri durante la ricerca di pacchetti.

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
Ereditarietà
Object Platform::Object IInspectable FindRelatedPackagesOptions
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 11 Insider Preview (è stato introdotto in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v15.0)

Costruttori

FindRelatedPackagesOptions(PackageRelationship)

Crea una nuova istanza di FindRelatedPackagesOptions.

Proprietà

IncludeFrameworks

Indica se devono essere inclusi i pacchetti framework.

IncludeHostRuntimes

Indica se devono essere inclusi i pacchetti hostRuntime .

IncludeOptionals

Indica se devono essere inclusi pacchetti di dipendenze facoltativi.

IncludeResources

Indica se i pacchetti di risorse devono essere inclusi.

Relationship

PackageRelationship specifica la relazione dei pacchetti da recuperare.

Si applica a

Vedi anche