Spread WPF Documentation
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 System.Short, _
   ByVal dataValidation As IExcelDataValidation _
) 
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim dataValidation As IExcelDataValidation
 
instance.SetValidationData(sheet, dataValidation)
void SetValidationData( 
   System.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
System.ArgumentNullExceptionthrow if the passed data validation value is null
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.