FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > PercentCellType クラス : IsValid メソッド |
'使用法 Dim instance As PercentCellType Dim value As Object Dim value As Boolean value = instance.IsValid(value)
FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType(); bool b; fpSpread1.ActiveSheet.Cells[0, 0].CellType = p; fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05; b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value); MessageBox.Show(b.ToString());
FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType();
bool b;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05;
b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value);
MessageBox.Show(b.ToString());