AddPackageDependencyOptions.PrependIfRankCollision Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When you call the PackageDependency.Add method and multiple packages are present in the package graph with the same rank as specified by the Rank property, this property indicates whether the resolved package is added before others of the same rank.
public:
property bool PrependIfRankCollision { bool get(); void set(bool value); };
bool PrependIfRankCollision();
void PrependIfRankCollision(bool value);
public bool PrependIfRankCollision { get; set; }
var boolean = addPackageDependencyOptions.prependIfRankCollision;
addPackageDependencyOptions.prependIfRankCollision = boolean;
Public Property PrependIfRankCollision As Boolean
Property Value
bool
If true, the resolved package is added before others of the same rank. If false, the resolved package is not added before others of the same rank.