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
- 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.
See Also
Reference
BeforeAddDataBoundRowEventArgs Class