Last modified: January 16, 2009
Applies to: Office 2010 | Outlook 2010 | Visual Studio
Returns a list of columns for the table.
The IMAPITable::QueryColumns method can be called to retrieve:
The default column set for a table.
The current column set for a table, as established by a call to the IMAPITable::SetColumns method.
The complete column set for a table, the columns that are available, but not necessarily part of the current set.
If you do not set the TBL_ALL_COLUMNS flag, IMAPITable::QueryColumns returns either a table's default or current column set, depending on whether the table has been affected by a call to IMAPITable::SetColumns. SetColumns changes the order and selection of columns in a table's column set.
If you set the TBL_ALL_COLUMNS flag, QueryColumns returns all of the columns that are capable of being in the table's column set.
Free the memory for the property tag array pointed to by the lpPropTagArray parameter by calling the MAPIFreeBuffer function.