DataGridViewCell.GetErrorText(Int32) DataGridViewCell.GetErrorText(Int32) DataGridViewCell.GetErrorText(Int32) DataGridViewCell.GetErrorText(Int32) Method

定义

返回表示单元格错误的字符串。Returns a string that represents the error for the cell.

protected public:
 virtual System::String ^ GetErrorText(int rowIndex);
protected internal virtual string GetErrorText (int rowIndex);
abstract member GetErrorText : int -> string
override this.GetErrorText : int -> string
Protected Friend Overridable Function GetErrorText (rowIndex As Integer) As String

参数

rowIndex
Int32 Int32 Int32 Int32

单元格的行索引。The row index of the cell.

返回

描述当前 DataGridViewCell 的错误的字符串。A string that describes the error for the current DataGridViewCell.

适用于

另请参阅