共用方式為


Columns Members

Include Protected Members
Include Inherited Members

Represents the collection of Column objects in a Table object.

The Columns type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent application (Outlook) for the Columns object. Read-only. (Inherited from _Columns.)
Public property Class Returns a constant in the OlObjectClass enumeration indicating the class of the Columns object. Read-only. (Inherited from _Columns.)
Public property Count Returns an Integer (int in C#) value representing the number of Column objects in the collection. Read-only. (Inherited from _Columns.)
Public property Item Obtains a Column object specified by Index. (Inherited from _Columns.)
Public property Parent Returns the parent object of the Columns object. Read-only. (Inherited from _Columns.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Columns.)

Top

Methods

  Name Description
Public method Add Adds the Column specified by Name to the Columns collection and resets the Table. (Inherited from _Columns.)
Public method Remove Removes the Column object specified by Index and resets the Table. (Inherited from _Columns.)
Public method RemoveAll Removes all the columns from the Columns collection and resets the Table. (Inherited from _Columns.)

Top

See Also

Reference

Columns Interface

Microsoft.Office.Interop.Outlook Namespace