[]
Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.
void SetFirstPriority()
Sub SetFirstPriority()
worksheet.Range["A1:A5"].Value = new object[,] {{10}, {30}, {50}, {70}, {90}};
IIconSetCondition firstRule = worksheet.Range["A1:A5"].FormatConditions.AddIconSetCondition();
IIconSetCondition secondRule = worksheet.Range["A1:A5"].FormatConditions.AddIconSetCondition();
secondRule.SetFirstPriority();
int priority = secondRule.Priority;