[]
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()
IUniqueValues firstRule = worksheet.Range["A1:A5"].FormatConditions.AddUniqueValues();
firstRule.Interior.Color = Color.Yellow;
IUniqueValues secondRule = worksheet.Range["B1:B5"].FormatConditions.AddUniqueValues();
secondRule.Interior.Color = Color.LightBlue;
secondRule.SetFirstPriority();