BeforeAddDataBoundRowEventArgs.Cancel Property
Gets or sets a value indicating whether the addition of a new row should be canceled.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property Cancel As Boolean
bool Cancel { get; set; }
Property Value
Type: System.Boolean
true if the row should not be added to the data; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.