GrapeCity.Xaml.Excel
SetValidationData Method


GrapeCity.Excel Namespace > IExcelReader Interface : SetValidationData Method
The zero based sheet index used to locate the IExcelWorksheet instance
A data validation criteria for a range of cells
Add an IExcelDataValidation instance for a range of cells
Syntax
'Declaration
 
Sub SetValidationData( _
   ByVal sheet As Short, _
   ByVal dataValidation As IExcelDataValidation _
) 
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim dataValidation As IExcelDataValidation
 
instance.SetValidationData(sheet, dataValidation)
void SetValidationData( 
   short sheet,
   IExcelDataValidation dataValidation
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorksheet instance
dataValidation
A data validation criteria for a range of cells
Exceptions
ExceptionDescription
throw if the passed data validation value is null
See Also

Reference

IExcelReader Interface
IExcelReader Members