Rediger

Del via


Column Interface

Definition

Represents a column of data in a Table object.

public interface class Column : Microsoft::Office::Interop::Outlook::_Column
[System.Runtime.InteropServices.Guid("000630E5-0000-0000-C000-000000000046")]
public interface Column : Microsoft.Office.Interop.Outlook._Column
Public Interface Column
Implements _Column
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 _Column.

A Table is composed of rows and columns. It represents a read-only dynamic rowset of data in a Folder or Search object. You can regard each row of a Table as an item in the folder, each column as a property of the item. By default, a Table contains only a subset of properties for items in the folder. This makes the Table an in-memory lightweight rowset that allows fast enumeration and filtering of items in the folder.

To obtain the value of a property (column) for a specific item (row) in a Table, you can either use the GetArray(Int32) method and index into the returned array, or use the Item[Object]property (this in C#), specifying the Name of the column.

Properties

Application

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

(Inherited from _Column)
Class

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

(Inherited from _Column)
Name

Returns a String (string in C#) value that represents the name of the Column. Read-only.

(Inherited from _Column)
Parent

Returns the parent Object of the Column object. Read-only.

(Inherited from _Column)
Session

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

(Inherited from _Column)

Applies to