Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IValidation Interface / Add Method
Required ValidationType. The validation type.
Optional Object. The validation alert style.
Optional Object. The data validation operator.
Optional Object. The first part of the data validation equation.
Optional Object. The second part of the data validation when Operator is Between or NotBetween (otherwise, this argument is ignored).
In This Topic
    Add Method (IValidation)
    In This Topic
    Adds data validation to the specified range.
    Syntax

    Parameters

    type
    Required ValidationType. The validation type.
    alertStyle
    Optional Object. The validation alert style.
    validationOperator
    Optional Object. The data validation operator.
    formula1
    Optional Object. The first part of the data validation equation.
    formula2
    Optional Object. The second part of the data validation when Operator is Between or NotBetween (otherwise, this argument is ignored).
    See Also