Düzenle

Aracılığıyla paylaş


Columns Interface

Definition

Represents the collection of Column objects in a Table object.

public interface class Columns : Microsoft::Office::Interop::Outlook::_Columns
[System.Runtime.InteropServices.Guid("000630E1-0000-0000-C000-000000000046")]
public interface Columns : Microsoft.Office.Interop.Outlook._Columns
Public Interface Columns
Implements _Columns
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Columns.

The Columns object supports enumerating Column objects in the Columns collection object. It supports the COM interface, IEnumerable .

Properties

Application

Returns an Application object that represents the parent application (Outlook) for the Columns object. Read-only.

(Inherited from _Columns)
Class

Returns a constant in the OlObjectClass enumeration indicating the class of the Columns object. Read-only.

(Inherited from _Columns)
Count

Returns an Integer (int in C#) value representing the number of Column objects in the collection. Read-only.

(Inherited from _Columns)
Item[Object]

Obtains a Column object specified by Index.

(Inherited from _Columns)
Parent

Returns the parent object of the Columns object. Read-only.

(Inherited from _Columns)
Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _Columns)

Methods

Add(String)

Adds the Column specified by Name to the Columns collection and resets the Table.

(Inherited from _Columns)
Remove(Object)

Removes the Column object specified by Index and resets the Table.

(Inherited from _Columns)
RemoveAll()

Removes all the columns from the Columns collection and resets the Table.

(Inherited from _Columns)

Applies to