[]
Gets or sets the data type validation for a range.
This property returns the current ValidationType that defines how values in the
range are validated.
ValidationType Type { get; set; }
Property Type As ValidationType
IValidation validation = worksheet.Range["A1"].Validation;
validation.Add(ValidationType.Whole, ValidationAlertStyle.Stop, ValidationOperator.Between, 1, 10);
ValidationType type = validation.Type;