FarPoint.Web.Spread 名前空間 > RegExpCellType クラス > RegExpCellType コンストラクタ : RegExpCellType コンストラクタ(String) |
'Declaration
Public Function New( _ ByVal errorMessage As String _ )
public RegExpCellType( string errorMessage )
FarPoint.Web.Spread.RegExpCellType re = New FarPoint.Web.Spread.RegExpCellType("SSN ( ex, 123-45-6789 )"); re.ValidationExpression = "^\\d{3}-\\d{2}-\\d{4}$"; FpSpread1.ActiveSheetView.Cells[0, 0].CellType = re;
Dim re As New FarPoint.Web.Spread.RegExpCellType("SSN ( ex, 123-45-6789 )") re.ValidationExpression = "^\d{3}-\d{2}-\d{4}$" FpSpread1.ActiveSheetView.Cells(0, 0).CellType = re