Validate
ICustomValidation.Validate method
验证网格单元的数据是否有效。
public bool Validate(Worksheet worksheet, int row, int col, object value)
| 范围 | 类型 | 描述 |
|---|---|---|
| worksheet | Worksheet | 工作表对象。 |
| row | Int32 | 行索引。 |
| col | Int32 | 列索引。 |
| value | Object | 要验证的值。 |
返回值
真有效,假无效。
也可以看看
- class Worksheet
- interface ICustomValidation
- 命名空间 Aspose.Cells.GridDesktop
- 部件 Aspose.Cells.GridDesktop