BeforeAddDataBoundRowEventArgs.Item Property (2007 System)
Gets the row to be added to the data source.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property Item As Object
'Usage
Dim instance As BeforeAddDataBoundRowEventArgs
Dim value As Object
value = instance.Item
public Object Item { get; }
public:
property Object^ Item {
Object^ get ();
}
public function get Item () : Object
Property Value
Type: System.Object
The row to be added.
Remarks
Use this argument to get the data that the user entered so that you can provide any additional information or modify the data.
If the data source is a DataTable, then the item is a DataRowView object, not a DataRow object.
This example is for a document-level customization.
.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