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.

適用於

另請參閱