.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

DataValidationCollection.Add Method

Name Parameters Description
Add(CellRange, DataValidationType, DataValidationOperator, ValueObject) range, validationType, validationOperator, criteria Creates a new data validation entry and adds it to the document's collection.
Add(CellRange, DataValidationType, DataValidationOperator, ValueObject, ValueObject) range, validationType, validationOperator, criteria, criteria2 Creates a new data validation entry and adds it to the document's collection.
Add(CellRange, DataValidationType, ValueObject) range, validationType, criteria Creates a new data validation entry and adds it to the document's collection.