Gets or sets the error message for the cell type. This property is used by the derived classes.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property ErrorMessage As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TextCellType
Dim value As String
instance.ErrorMessage = value
value = instance.ErrorMessage |
C# | |
---|
public virtual string ErrorMessage {get; set;} |
Example
This example sets the ErrorMessage property.
C# | Copy Code |
---|
FarPoint.Web.Spread.TextCellType textcell = new FarPoint.Web.Spread.TextCellType();
textcell.ErrorMessage = "Error";
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = textcell; |
VB.NET | Copy Code |
---|
Dim textcell As New FarPoint.Web.Spread.TextCellType()
textcell.ErrorMessage = "Error"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = textcell |
Requirements
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
See Also