WorksheetBase.ListObjects Property
Gets a collection of ListObject objects in the worksheet.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property ListObjects As ListObjects
public ListObjects ListObjects { get; }
Property Value
Type: ListObjects
The ListObjects collection for the worksheet.
Examples
The following code example uses the ListObjects property to add a ListObject to the current worksheet.
This example is for a document-level customization.
Trin_ExcelWorkSheet#17
.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.