다음을 통해 공유


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

See Also

Reference

BeforeAddDataBoundRowEventArgs Interface

Microsoft.Office.Tools.Excel Namespace