Freigeben über


ErrorAddDataBoundRowEventArgs.Retry Property

Gets or sets a value indicating whether the ListObject should attempt to add the item again.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property Retry As Boolean
bool Retry { get; set; }

Property Value

Type: System.Boolean
true if another attempt should be made; otherwise, false. The default value is false.

Remarks

If the ListObject encounters an error when attempting to add the new row, the ErrorAddDataBoundRow event is raised. The developer can handle this event and attempt to fix any errors that occur.

.NET Framework Security

See Also

Reference

ErrorAddDataBoundRowEventArgs Interface

Microsoft.Office.Tools.Excel Namespace