Edit

Share via


ListObjects Interface

Definition

A collection of all the ListObject objects on a worksheet. Each ListObject object represents a list in the worksheet.

public interface class ListObjects : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024470-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ListObjects : System.Collections.IEnumerable
Public Interface ListObjects
Implements IEnumerable
Attributes
Implements

Remarks

Use the ListObjects property of the Worksheet object to return the ListObjects collection.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Count

Returns the number of objects in the collection. Read-only Integer.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Item[Object]

Returns a single object from a collection.

Parent

Returns the parent object for the specified object. Read-only.

Methods

Add(XlListObjectSourceType, Object, Object, XlYesNoGuess, Object)

Creates a new list object. Returns a ListObject object.

AddEx(XlListObjectSourceType, Object, Object, XlYesNoGuess, Object, Object)

Reserved for internal use.

GetEnumerator()

Applies to