Udostępnij za pośrednictwem


WorksheetBase.ListObjects Property

Gets a collection of Microsoft.Office.Interop.Excel.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
    Get
public ListObjects ListObjects { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.ListObjects
The Microsoft.Office.Interop.Excel.ListObjects collection for the worksheet.

Examples

The following code example uses the ListObjects property to add a Microsoft.Office.Interop.Excel.ListObject to the current worksheet.

This example is for a document-level customization.

Trin_ExcelWorkSheet#17

.NET Framework Security

See Also

Reference

WorksheetBase Class

Microsoft.Office.Tools.Excel Namespace