AddPackageDependencyOptions.Rank 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.
The rank to use to add the resolved package to the caller's package graph.
public:
property int Rank { int get(); void set(int value); };
int Rank();
void Rank(int value);
public int Rank { get; set; }
var int32 = addPackageDependencyOptions.rank;
addPackageDependencyOptions.rank = int32;
Public Property Rank As Integer
Property Value
Int32
int
Remarks
For more information about the rank value, see the remarks for the PackageDependency.Add method.
If multiple packages are present in the package graph with the same rank, you can ensure the resolved package is added before others of the same rank by using the PrependIfRankCollision property.