編輯

共用方式為


ListColumns Interface

Definition

A collection of all the ListColumn objects in the specified ListObject object. Each ListColumn object represents a column in the list.

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

Remarks

Use the ListColumns property of the ListObject object to return the ListColumns collection.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

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.

Item[Object]

Returns a single object from a collection.

Parent

Returns the parent object for the specified object.

Methods

Add(Object)

Adds a new column to the list object. Returns a ListColumn object.

GetEnumerator()

Applies to