Class DataValidationCollection
Inheritance
System.Object
DataValidationCollection
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DataValidationCollection : IEnumerable<DataValidation>
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Add(DataValidation)
Declaration
public void Add(DataValidation validation)
Parameters
Add(String, DataValidationType, DataValidationOperator, String[])
Declaration
public DataValidation Add(string range, DataValidationType type, DataValidationOperator operator, params string[] formula)
Parameters
Returns
AddCustom(String, String)
Declaration
public DataValidation AddCustom(string range, string formula)
Parameters
Type |
Name |
Description |
System.String |
range |
|
System.String |
formula |
|
Returns
AddDate(String, DataValidationOperator, DateTime[])
Declaration
public DataValidation AddDate(string range, DataValidationOperator operator, params DateTime[] dates)
Parameters
Returns
AddDecimal(String, DataValidationOperator, Double[])
Declaration
public DataValidation AddDecimal(string range, DataValidationOperator operator, params double[] numbers)
Parameters
Returns
AddList(String, String)
Declaration
public DataValidation AddList(string range, string formula)
Parameters
Type |
Name |
Description |
System.String |
range |
|
System.String |
formula |
|
Returns
AddTextLength(String, DataValidationOperator, Int32[])
Declaration
public DataValidation AddTextLength(string range, DataValidationOperator operator, params int[] numbers)
Parameters
Returns
AddTime(String, DataValidationOperator, TimeSpan[])
Declaration
public DataValidation AddTime(string range, DataValidationOperator operator, params TimeSpan[] times)
Parameters
Returns
AddWholeNumber(String, DataValidationOperator, Int32[])
Declaration
public DataValidation AddWholeNumber(string range, DataValidationOperator operator, params int[] numbers)
Parameters
Returns
Get(String)
Declaration
public DataValidation Get(string label)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Returns
GetEnumerator()
Declaration
public IEnumerator<DataValidation> GetEnumerator()
Returns