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
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for