DataRecordset.DataColumns property (Visio)

Returns the DataColumns collection associated with the DataRecordset object. Read-only.

Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

Syntax

expression.DataColumns

expression An expression that returns a DataRecordset object.

Return value

DataColumns

Remarks

Every DataRecordset object contains a DataColumns collection of all the DataColumn objects associated with the DataRecordset object. These objects allow you to map data columns to cells in the Shape Data (formerly Custom Properties) section of the Visio ShapeSheet spreadsheet.

Once you get the DataColumns collection, you can use its SetColumnProperties method to set the properties of multiple data columns, or you can get and set the properties of individual data columns by using the DataColumn.GetProperty and DataColumn.SetProperty properties respectively.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.