Share via


BeforeAddDataBoundRowEventArgs.Cancel Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property Cancel As Boolean
'Usage
Dim instance As BeforeAddDataBoundRowEventArgs 
Dim value As Boolean 

value = instance.Cancel

instance.Cancel = value
public bool Cancel { get; set; }
public:
property bool Cancel {
    bool get ();
    void set (bool value);
}
public function get Cancel () : boolean 
public function set Cancel (value : boolean)

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 Class

BeforeAddDataBoundRowEventArgs Members

Microsoft.Office.Tools.Excel Namespace