'Declaration
Sub Add( _ ByVal type As ValidationType, _ ByVal alertStyle As ValidationAlertStyle, _ ByVal validationOperator As ValidationOperator, _ ByVal formula1 As System.String, _ ByVal formula2 As System.String _ )
'Usage
Dim instance As IValidation Dim type As ValidationType Dim alertStyle As ValidationAlertStyle Dim validationOperator As ValidationOperator Dim formula1 As System.String Dim formula2 As System.String instance.Add(type, alertStyle, validationOperator, formula1, formula2)
void Add( ValidationType type, ValidationAlertStyle alertStyle, ValidationOperator validationOperator, System.string formula1, System.string formula2 )
Parameters
- type
- Specifies the type of data validation to add.
- alertStyle
- Specifies the alert style to use for alert messages.
- validationOperator
- Specifies the data validation operator.
- formula1
- Specifies the first data validation value, formula or list.
- formula2
- Specifies the second data validation value for ValidationOperator.Between or ValidationOperator.NotBetween.