다음을 통해 공유


WorksheetBase.ListObjects Property

Definition

Gets a collection of ListObject objects in the worksheet.

public:
 property Microsoft::Office::Interop::Excel::ListObjects ^ ListObjects { Microsoft::Office::Interop::Excel::ListObjects ^ get(); };
public Microsoft.Office.Interop.Excel.ListObjects ListObjects { get; }
member this.ListObjects : Microsoft.Office.Interop.Excel.ListObjects
Public ReadOnly Property ListObjects As ListObjects

Property Value

The 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

Applies to