Export (0) Print
Expand All

DataRecordset.DataColumns Property (Visio)

Published: July 16, 2012

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

Note Note

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

Version Added: Visio 2007

expression .DataColumns

expression An expression that returns a DataRecordset object.

Return Value


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.

Community Additions

© 2014 Microsoft