ListObject::SourceType Property
Gets the current source of the list.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Property Value
Type: Microsoft.Office.Interop.Excel::XlListObjectSourceTypeOne of the XlListObjectSourceType values.
The following code example creates a DataTable and a ListObject, and then binds the ListObject to the DataTable. It then displays the source of the list in a message.
This example is for a document-level customization.
Show: