The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITableData : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Provides utility methods for working with tables. MAPI provides table data objects or objects that implement ITableData to help service providers perform table maintenance. To obtain a table data object, service providers call the CreateTable function.

Header file:


Exposed by:

Table data objects

Implemented by:


Called by:

Service providers

Interface identifier:


Pointer type:



Creates a table view, returning a pointer to an IMAPITable implementation.


Inserts a new table row, possibly replacing an existing row.


Deletes a table row.


Retrieves a table row.


Retrieves a row based on its position in the table.


Sends a notification for a table row.


Inserts a table row.


Inserts multiple table rows, possibly replacing existing rows.


Deletes multiple table rows.

The MAPI implementation of ITableData works with tables by holding all of the data and any associated restrictions in memory, making it unsuitable for use with very large tables. Large restrictions and complex operations such as categorization are not supported.

Table data objects identify rows by using an index column, a property that is guaranteed to have a unique value for each row. Most service providers use the PR_INSTANCE_KEY (PidTagInstanceKey) property as the index column. Properties that have multiple values cannot be used as an index column.

Table data objects generate a single notification regardless of the number of rows affected by a change or deletion. If a target row in an operation does not exist, a row is added.