Gets the column object in the specified position in the columns list by the name or by the caption.
Parameters
Parameters
Description
name
[in] The name of the column object.
caption
[in] The caption of the column object.
Returns
The column object in the specified position in the columns list.
Remarks
The default is to get the column object by the name. If name is not OdString::kEmpty, the name is used to find the matching column. If name is OdString::kEmpty and caption is not OdString::kEmpty, the caption is used to find the column.