SpreadsheetGear 2023
SetError Method (IValues)


SpreadsheetGear.Advanced.Cells Namespace > IValues Interface : SetError Method
Specifies the row of the cell to set.
Specifies the column of the cell to set.
Specifies the error value to place into the specified cell.
Sets the value of the specified cell to the specified error value.
Syntax
'Declaration
 
Sub SetError( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal error As ValueError _
) 
'Usage
 
Dim instance As IValues
Dim row As System.Integer
Dim column As System.Integer
Dim error As ValueError
 
instance.SetError(row, column, error)
void SetError( 
   System.int row,
   System.int column,
   ValueError error
)

Parameters

row
Specifies the row of the cell to set.
column
Specifies the column of the cell to set.
error
Specifies the error value to place into the specified cell.
Remarks

See the IValues overview for warnings about using this method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IValues Interface
IValues Members
ValueError Enumeration
Error Property