Share via


AddPackageDependencyOptions.PrependIfRankCollision Property

Definition

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

Boolean

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.

Applies to

See also