The data validation example at Data Validation|Documentation has the following line:
Validation validation = validations[validations.Add(ca)];
However, this doesn’t compile, as there is no ValidationCollection.Add that…...examples based on the latest set of APIs. If you are using an older version...version of Aspose.Cells APIs, certain lines of code in the examples...