FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > RegExpCellType Class > RegExpCellType Constructor : RegExpCellType Constructor(String) |
'Declaration Public Function New( _ ByVal errorMessage As String _ )
'Usage Dim errorMessage As String Dim instance As New RegExpCellType(errorMessage)
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
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6