Spread Windows Forms 11.0 Product Documentation
Add(RangeReference,DataValidationType,DataValidationErrorStyle,DataValidationOperator,String,String) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DataValidationManager Class > Add Method : Add(RangeReference,DataValidationType,DataValidationErrorStyle,DataValidationOperator,String,String) Method
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal rangeRef As RangeReference, _
   ByVal type As GrapeCity.Spreadsheet.DataValidationType, _
   ByVal errorStyle As GrapeCity.Spreadsheet.DataValidationErrorStyle, _
   ByVal operator As GrapeCity.Spreadsheet.DataValidationOperator, _
   ByVal formula1 As String, _
   Optional ByVal formula2 As String _
) As GrapeCity.Spreadsheet.DataValidation
'Usage
 
Dim instance As DataValidationManager
Dim rangeRef As RangeReference
Dim type As GrapeCity.Spreadsheet.DataValidationType
Dim errorStyle As GrapeCity.Spreadsheet.DataValidationErrorStyle
Dim operator As GrapeCity.Spreadsheet.DataValidationOperator
Dim formula1 As String
Dim formula2 As String
Dim value As GrapeCity.Spreadsheet.DataValidation
 
value = instance.Add(rangeRef, type, errorStyle, operator, formula1, formula2)
public GrapeCity.Spreadsheet.DataValidation Add( 
   RangeReference rangeRef,
   GrapeCity.Spreadsheet.DataValidationType type,
   GrapeCity.Spreadsheet.DataValidationErrorStyle errorStyle,
   GrapeCity.Spreadsheet.DataValidationOperator operator,
   string formula1,
   string formula2
)

Parameters

rangeRef
type
errorStyle
operator
formula1
formula2
See Also

Reference

DataValidationManager Class
DataValidationManager Members
Overload List