Class ExcelDataValidationWithFormula2<T>
Represents a data validation with two formulas
Inheritance
Object
ExcelDataValidationWithFormula2<T>
Implements
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.DataValidation
Assembly: EPPlus.dll
Syntax
public abstract class ExcelDataValidationWithFormula2<T> : ExcelDataValidationWithFormula<T>, IExcelDataValidation where T : IExcelDataValidationFormula
Type Parameters
| Name | Description |
|---|---|
| T | An instance implementing the IExcelDataValidationFormula |
Properties
Formula2
Formula - Either a {T} value or a spreadsheet formula
Declaration
public T Formula2 { get; protected set; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
Validate()
Validate the validation
Declaration
public override void Validate()
Overrides
OfficeOpenXml.DataValidation.ExcelDataValidationWithFormula<T>.Validate()
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException |