FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > RegularExpressionCellType クラス : RegularExpression プロパティ |
'Declaration Public Property RegularExpression As String
'使用法 Dim instance As RegularExpressionCellType Dim value As String instance.RegularExpression = value value = instance.RegularExpression
public string RegularExpression {get; set;}
FarPoint.Win.Spread.CellType.RegularExpressionCellType reg = new FarPoint.Win.Spread.CellType.RegularExpressionCellType(); reg.RegularExpression = "^\\d{9}$"; fpSpread1.Sheets[0].Cells[0, 0].CellType = reg;
Dim reg As New FarPoint.Win.Spread.CellType.RegularExpressionCellType() reg.RegularExpression = "^\d{9}$" FpSpread1.Sheets(0).Cells(0, 0).CellType = reg