AddPackageDependencyOptions enumeration (appmodel.h)

Defines options that can be applied when adding a run-time reference to a framework package by using the AddPackageDependency function.

Syntax

typedef enum AddPackageDependencyOptions {
  AddPackageDependencyOptions_None,
  AddPackageDependencyOptions_PrependIfRankCollision
} ;

Constants

 
AddPackageDependencyOptions_None
No options are applied.
AddPackageDependencyOptions_PrependIfRankCollision
If multiple packages are present in the package graph with the same rank as the call to AddPackageDependency, the resolved package is added before others of the same rank. For more information, see AddPackageDependency.

Requirements

Requirement Value
Minimum supported client Windows 11 (introduced in 10.0.22000.0)
Header appmodel.h

See also

AddPackageDependency